[horde] Changing a conf setting from within a hook?
jan at horde.org
Fri Aug 11 08:39:36 PDT 2006
Zitat von Barry Flanagan <barryf-lists at flanagan.ie>:
> 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.
Do you need professional PHP or Horde consulting?
More information about the horde