فهرست منبع

minor fix to php.Session automatic start

Franco Ponticelli 17 سال پیش
والد
کامیت
b3a1e908b7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      std/php/Session.hx

+ 1 - 1
std/php/Session.hx

@@ -115,7 +115,7 @@ class Session {
 		untyped __call__("unset", __var__("_SESSION", name));
 	}
 	
-	private static var _started = false;
+	private static var _started = untyped __call__("isset", __var__("_SESSION"));
 	private static function start() {
 		if(_started) return;
 		_started = true;