[imp] Change conf value after login
Marco
falon at csi.it
Mon Jul 27 14:25:24 UTC 2009
Marco <falon <at> 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 that horde hook preauthenticate works!
if (!function_exists('_horde_hook_preauthenticate')) {
function _horde_hook_preauthenticate($userID, $credential, $realm)
{
$_SESSION['_registry']['cache'][...]['link_attachments'] = 1;
}
}
But if I enable this, SyncML stop to work... Oddity...
Regards
Marco
More information about the imp
mailing list