From 064e45c8787a9a1013e9bd3e8c0d43dc043f925c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 8 May 2014 10:48:09 +0200 Subject: [PATCH] Correct params to session_set_cookie_params MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- examples/openid.php | 2 +- examples/signon.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/openid.php b/examples/openid.php index a99603de4bc0..bc0a6bf902ee 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 8b2ab2e279a1..d55ff6dac0f8 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);