[horde] Changing a conf setting in postauthenticate?

Jan Schneider jan at horde.org
Sat Apr 8 01:32:53 PDT 2006


Zitat von Barry Flanagan <barryf-lists at flanagan.ie>:

> Hi,
>
> I want to change a conf setting (prefs driver) depending on a user
> setting. It appears that when horde's conf.php is processed auth has not
> yet taken place, so I can't add the logic in there.

Correct.

> If I were to place it in the postauth hook, how then would I change the
> value of a conf variable?

Using $GLOBALS['conf']. But the configuration is probably already  
cached at this point.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list