浏览代码

fixed issue 390

Franco Ponticelli 14 年之前
父节点
当前提交
93806297d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/php/Session.hx

+ 1 - 1
std/php/Session.hx

@@ -93,7 +93,7 @@ class Session {
 	
 	
 	public static function setCookieParams(?lifetime : Int, ?path : String, ?domain : String, ?secure : Bool, ?httponly : Bool) {
 	public static function setCookieParams(?lifetime : Int, ?path : String, ?domain : String, ?secure : Bool, ?httponly : Bool) {
 		if(started) throw "You can't set the cookie params while the session is already in use";
 		if(started) throw "You can't set the cookie params while the session is already in use";
-		untyped __call__("session_get_cookie_params", lifetime, path, domain, secure, httponly);
+		untyped __call__("session_set_cookie_params", lifetime, path, domain, secure, httponly);
 	}
 	}
 	
 	
 	public static function getCookieParams() : { lifetime : Int, path : String, domain : String, secure : Bool, httponly : Bool} {
 	public static function getCookieParams() : { lifetime : Int, path : String, domain : String, secure : Bool, httponly : Bool} {