[dev] Annoyance in Registry.php

Jan Schneider jan@horde.org
Fri, 5 Jul 2002 13:34:37 +0200


Zitat von David Ulevitch <davidu@everydns.net>:

> To be precise, prior to the switch, $conf['prefs']['driver'] kept being
> read as "none" in loadPrefs($app) however in my config/conf.php I clearly
> had a line which read:
> 
> $conf['prefs']['driver'] = 'sql';
> 
> Moving $this->importConfig($app); fixed it.
> 
> Can you think of other causes for the issue I saw? (and possible
> solutions?)

Yes, the preference system if configured Horde-wide and thus in
config/horde.php. The Horde configuration is loaded before loadPrefs():
$this->importConfig('horde')

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft