Skip to content

Commit

Permalink
Correct params to session_set_cookie_params
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <[email protected]>
  • Loading branch information
nijel committed May 8, 2014
1 parent 4fe6bf0 commit 064e45c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/openid.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function Show_page($contents)
}

/* Need to have cookie visible from parent directory */
session_set_cookie_params(0, '/', '', 0);
session_set_cookie_params(0, '/', '', false);
/* Create signon session */
$session_name = 'SignonSession';
session_name($session_name);
Expand Down
2 changes: 1 addition & 1 deletion examples/signon.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

/* Need to have cookie visible from parent directory */
session_set_cookie_params(0, '/', '', 0);
session_set_cookie_params(0, '/', '', false);
/* Create signon session */
$session_name = 'SignonSession';
session_name($session_name);
Expand Down

0 comments on commit 064e45c

Please sign in to comment.