[horde] help with function error

Ilya mail at krel.org
Sun Aug 24 11:22:42 PDT 2003


this worked perfectly, thank you Jan

On Sun, Aug 24, 2003 at 02:56:30PM +0200, Jan Schneider wrote:
> 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
> 
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



More information about the horde mailing list