[horde] $conf

Chuck Hagenbuch chuck at horde.org
Wed Feb 7 11:51:23 PST 2007


Quoting Kevin Conley <kevinconley at northwestern.edu>:

> How do you access these config values? In the wiki the  
> Doc/Dev/Globals entry states these should be available:
>
> $conf  	        The configuration hash
> $prefs 	        The user preferences
> $browser 	Information on the client browser
> $registry 	The Horde Registry
> $language 	The user's preferred language
>
> So in the preauth hook i tried to access $conf['sql'] but i got  
> nothing. So i thought maybe they weren't setup till the user was  
> authorized so i tried in postauth but still got nothing.
>
> Am i using the wrong syntax or cannot you not access these variables  
> in the pre/post auth hooks?

http://us3.php.net/global

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the horde mailing list