diff options
author | Michal Čihař <michal@cihar.com> | 2014-05-08 12:48:09 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2014-05-08 12:48:09 +0400 |
commit | 064e45c8787a9a1013e9bd3e8c0d43dc043f925c (patch) | |
tree | 3e6e0a2d68c640833b2cc21735839c013afdf425 | |
parent | 4fe6bf07372980202844d853175ce1d4edd20ebe (diff) |
Correct params to session_set_cookie_params
Signed-off-by: Michal Čihař <michal@cihar.com>
-rw-r--r-- | examples/openid.php | 2 | ||||
-rw-r--r-- | examples/signon.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/openid.php b/examples/openid.php index a99603de4b..bc0a6bf902 100644 --- a/examples/openid.php +++ b/examples/openid.php @@ -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); diff --git a/examples/signon.php b/examples/signon.php index 8b2ab2e279..d55ff6dac0 100644 --- a/examples/signon.php +++ b/examples/signon.php @@ -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); |