From: Tim Starling Date: Sat, 3 Apr 2004 01:22:04 +0000 (+0000) Subject: removing now unnecessary global registration, which causes a notice on every page X-Git-Tag: 1.3.0beta1~631 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=6f150c86b0ed71945dff0c0ca2896e4c661dec0d;p=lhc%2Fweb%2Fwiklou.git removing now unnecessary global registration, which causes a notice on every page --- 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 ) {