Browse Source

fixed issue 390

Franco Ponticelli 14 years ago
parent
commit
93806297d0
1 changed files with 1 additions and 1 deletions
  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) {
 		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} {