Ver Fonte

Fix: When session auto-start not enabled, undefined var notice for

pdontthink há 18 anos atrás
pai
commit
be5f8591fb
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      include/init.php

+ 1 - 0
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');