[horde] $conf
Kevin Conley
kevinconley at northwestern.edu
Wed Feb 7 12:02:59 PST 2007
Ok - the variables are global and thus my ref are out of scope and i must import
them - gotcha.
However, i'm still a new at php so so i have to import the php file that defined
them or do i have to access them via $GLOBALS?
I'm a little lost here...
Chuck Hagenbuch wrote:
> 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
> --Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
--
Kevin Conley
Technology Support Services
Northwestern University
847-491-4086
More information about the horde
mailing list