Re: [imp] Change conf value after login

2009-07-27 Thread Marco
Marco csi.it> writes: I finally tried with all parameter: $_SESSION['_registry'][...]['link_attachments'] = 1; $GLOBALS['registry']->_confCache['imp']['compose']['link_attachments'] =1; $GLOBALS['conf']['compose']['link_attachments'] = 1; none work (see with admin PHP shell). I found t

Re: [imp] Change conf value after login

2009-07-20 Thread Marco
Jan Schneider horde.org> writes: [...] > > if (!function_exists('_horde_hook_postauthenticate')) { > > function _horde_hook_postauthenticate($userID, $credential, $realm) > > { > > > > $GLOBALS['conf']['compose']['link_attachments'] = 1; > > return true; > > } > >

Re: [imp] Change conf value after login

2009-07-20 Thread Jan Schneider
Zitat von Marco : Jan Schneider horde.org> writes: Zitat von Marco csi.it>: > Hi, > I explain in particular what I would like. > I need an hook that set, after login, the IMP configuration variable > $conf['compose']['link_attachments']. > > I tried with: > > if (!function_exists('_imp_ho

Re: [imp] Change conf value after login

2009-07-16 Thread Marco
Jan Schneider horde.org> writes: > > Zitat von Marco csi.it>: > > > Hi, > > I explain in particular what I would like. > > I need an hook that set, after login, the IMP configuration variable > > $conf['compose']['link_attachments']. > > > > I tried with: > > > > if (!function_exists('_imp_ho

Re: [imp] Change conf value after login

2009-07-15 Thread Jan Schneider
Zitat von Marco : Hi, I explain in particular what I would like. I need an hook that set, after login, the IMP configuration variable $conf['compose']['link_attachments']. I tried with: if (!function_exists('_imp_hook_postlogin')) { function _imp_hook_postlogin($actionID, $isLogin)

[imp] Change conf value after login

2009-07-13 Thread Marco
Hi, I explain in particular what I would like. I need an hook that set, after login, the IMP configuration variable $conf['compose']['link_attachments']. I tried with: if (!function_exists('_imp_hook_postlogin')) { function _imp_hook_postlogin($actionID, $isLogin) { global $re