[dev] Re: [cvs] cvs commit: imp prefs.php
   
    Jan Schneider
     
    jan@horde.org
       
    Wed, 19 Dec 2001 23:24:15 +0100
    
    
  
Zitat von Chuck Hagenbuch <chuck@horde.org>:
> Quoting Jan Schneider <jan@ammma.de>:
> 
> >   Modified files:
> >     .                    prefs.php 
> >   Log:
> >   Use the new gettext api.
> 
> I'm confused as to why you need to reload config/prefs.php here?
Because config/prefs.php is (of course) included in the beginning of 
prefs.php with all gettext call evaluated. If The user changes the 
language, this happens actually during the execution of the script.
If we don't reload the config/prefs.php file the page will be in the new 
language but the preferences overview will be in the old one.
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::