Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2014-05-08 12:48:09 +0400
committerMichal Čihař <michal@cihar.com>2014-05-08 12:48:09 +0400
commit064e45c8787a9a1013e9bd3e8c0d43dc043f925c (patch)
tree3e6e0a2d68c640833b2cc21735839c013afdf425 /examples
parent4fe6bf07372980202844d853175ce1d4edd20ebe (diff)
Correct params to session_set_cookie_params
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/openid.php2
-rw-r--r--examples/signon.php2
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);