From: tokul Date: Mon, 1 May 2006 16:20:02 +0000 (+0000) Subject: restored workaround for pre 4.3 php session restart issue X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0c37c462873c67566509165029586267c5529841;p=squirrelmail.git restored workaround for pre 4.3 php session restart issue git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11101 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/login.php b/src/login.php index 5f622ecc..69d1e170 100644 --- a/src/login.php +++ b/src/login.php @@ -36,16 +36,15 @@ set_up_language($squirrelmail_language, TRUE, TRUE); * we get a new one. */ sqsession_destroy(); -sqsession_is_active(); -$_SESSION=array(); - - /** * PHP bug. http://bugs.php.net/11643 (warning, spammed bug tracker) and * http://bugs.php.net/13834 * SID constant is not destroyed in PHP 4.1.2, 4.2.3 and maybe other * versions. Produces warning on login page. Bug should be fixed only in 4.3.0 */ +@sqsession_is_active(); +$_SESSION=array(); + /** * This detects if the IMAP server has logins disabled, and if so,