From 0c37c462873c67566509165029586267c5529841 Mon Sep 17 00:00:00 2001 From: tokul Date: Mon, 1 May 2006 16:20:02 +0000 Subject: [PATCH 1/1] 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 --- src/login.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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, -- 2.25.1