[horde] Changing a conf setting from within a hook?

Jan Schneider jan at horde.org
Fri Aug 11 08:39:36 PDT 2006


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

> Hi,
>
> If I need to change the value of a conf variable from within a hook, how
> do I get Horde to use this value?
>
> My specific problem is that I need to use a conf setting which depends
> on the current user, but conf is read prior to authentication. Therefore
> in the postauthenticate hook I want to set this conf variable to its
> correct setting. However, even using $GLOBALS['conf']['param'] = does
> not seem to work.

A bad hack would be to alter $registry->_confCache.

Jan.

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



More information about the horde mailing list