From: pdontthink Date: Thu, 25 Jan 2007 01:22:33 +0000 (+0000) Subject: Fix: When session auto-start not enabled, undefined var notice for X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bf6140e31005ad4d99344ecb6ad473ab65855d59;p=squirrelmail.git Fix: When session auto-start not enabled, undefined var notice for git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12201 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/include/init.php b/include/init.php index bfc36d8a..a6eb383b 100644 --- a/include/init.php +++ b/include/init.php @@ -203,6 +203,7 @@ if (!isset($session_name) || !$session_name) { * if session.auto_start is On then close the session */ $sSessionAutostartName = session_name(); +$sCookiePath = null; if ((isset($sSessionAutostartName) || $sSessionAutostartName == '') && $sSessionAutostartName !== $session_name) { $sCookiePath = ini_get('session.cookie_path');