From: Dan M. S. A. <da...@pr...> - 2007-12-06 00:29:42
|
Hey all, I tried patching my squirrelmail 1.4.12 to work with MultiLogin (it failed). Without this patch multilogin will only do the iniial login with your chosen imap server, then reverts to the default. The original patch adds a few lines after: sqsession_is_active(); +include_once(SM_PATH . 'plugins/multilogin/functions.php'); +multilogin_sqoverride_config_do(array('validate_top')); // dummy hook name + But I don't know the squirrelmail API enough to know if I can just add to a similar place in the corresponding file in 1.4.12, whcih would be somewhere in this block: /* SquirrelMail required files. */ require_once(SM_PATH . 'class/mime.class.php'); require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/i18n.php'); require_once(SM_PATH . 'functions/auth.php'); is_logged_in(); require_once(SM_PATH . 'include/load_prefs.php'); require_once(SM_PATH . 'functions/page_header.php'); require_once(SM_PATH . 'functions/prefs.php'); I am guessing is_logged_in is the new "session_is_active" but I could still use a little guidance. -Dan -- "If you need web space, give him a hard drive. If you need to do something really heavy, build him a computer." -Ilzarion, late friday night --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- |