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 bfc36d8..a6eb383 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');