From 6f150c86b0ed71945dff0c0ca2896e4c661dec0d Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 3 Apr 2004 01:22:04 +0000 Subject: [PATCH] removing now unnecessary global registration, which causes a notice on every page --- includes/WebRequest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 26410580b1..bcec3c05fc 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -62,12 +62,15 @@ class WebRequest { if( defined( "DEBUG_GLOBALS" ) ) { die( "DEBUG_GLOBALS: Turn register_globals off!" ); } - } else { + } + /* + else { if( !defined( "DEBUG_GLOBALS" ) ) { # Insecure, but at least it'll run import_request_variables( "GPC" ); } } + */ } function getGPCVal( &$arr, $name, $default ) { -- 2.20.1