[horde] help with function error
Jan Schneider
jan at horde.org
Sun Aug 24 05:56:30 PDT 2003
Zitat von Ilya <mail at krel.org>:
> In php.log i see this error:
> [24-Aug-2003 01:20:15] PHP Fatal error: Cannot redeclare
> _horde_select_loginscreen() (previously declared in /usr/local/www/h
> orde/config/conf.php:240) in /usr/local/www/horde/config/conf.php on line
> 239
You need to put the following function into an
if (!function_exists('_horde_select_loginscreen'))
clause.
conf.php gets included twice during each page load, thus the "Cannot
redeclare" error.
> function _horde_select_loginscreen() {
> return 'imp';
> }
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the horde
mailing list