Fix: When session auto-start not enabled, undefined var notice for
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 25 Jan 2007 01:22:33 +0000 (01:22 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 25 Jan 2007 01:22:33 +0000 (01:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12201 7612ce4b-ef26-0410-bec9-ea0150e637f0

include/init.php

index bfc36d8ae3e5d90c1114f2ddb5243bcb6664f5bc..a6eb383b5db0500b9c6200c100b568b0404baa88 100644 (file)
@@ -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');