From 7170501293512cc3e4428db3649c77825124db0e Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 17 May 2003 03:05:39 +0000 Subject: [PATCH] Better detection of register_globals --- login/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login/logout.php b/login/logout.php index a511e62706..27a868be1e 100644 --- a/login/logout.php +++ b/login/logout.php @@ -3,7 +3,7 @@ require_once("../config.php"); - if (ini_get("register_globals")) { + if (ini_get_bool("register_globals")) { // This method is to try to avoid silly warnings from PHP 4.3.0 session_unregister("SESSION"); session_unregister("USER"); -- 2.39.5