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:
b117a88
)
Disable $wgDebugToolbar if file cache is turned on, as with $$wgShowIPinHeader
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 7 Feb 2012 21:30:41 +0000
(21:30 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 7 Feb 2012 21:30:41 +0000
(21:30 +0000)
includes/Setup.php
patch
|
blob
|
history
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
00df897
..
1e0ab0b
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-299,8
+299,10
@@
$wgContLanguageCode = $wgLanguageCode;
# Easy to forget to falsify $wgShowIPinHeader for static caches.
# If file cache or squid cache is on, just disable this (DWIMD).
+# Do the same for $wgDebugToolbar.
if ( $wgUseFileCache || $wgUseSquid ) {
$wgShowIPinHeader = false;
+ $wgDebugToolbar = false;
}
# $wgAllowRealName and $wgAllowUserSkin were removed in 1.16