dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d627335
)
removing now unnecessary global registration, which causes a notice on every page
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 3 Apr 2004 01:22:04 +0000
(
01:22
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 3 Apr 2004 01:22:04 +0000
(
01:22
+0000)
includes/WebRequest.php
patch
|
blob
|
history
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
2641058
..
bcec3c0
100644
(file)
--- 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 ) {