Parcourir la source

fixed issue 390

Franco Ponticelli il y a 14 ans
Parent
commit
93806297d0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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} {