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:
4e40d5a
)
Add $IP to list of globals, since it is undefined otherwise
author
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 24 Oct 2004 08:29:34 +0000
(08:29 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 24 Oct 2004 08:29:34 +0000
(08:29 +0000)
includes/Setup.php
patch
|
blob
|
history
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
6e41cde
..
ae39a58
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-16,7
+16,7
@@
if( defined( 'MEDIAWIKI' ) ) {
# setting up a few globals.
#
-global $wgProfiling, $wgProfileSampleRate, $wgIP, $wgUseSquid;
+global $wgProfiling, $wgProfileSampleRate, $wgIP, $wgUseSquid
, $IP
;
if( !isset( $wgProfiling ) )
$wgProfiling = false;
@@
-227,7
+227,7
@@
wfProfileOut( $fname.'-User' );
wfProfileIn( $fname.'-language' );
function setupLangObj(&$langclass, $langcode) {
- global $wgUseLatin1;
+ global $wgUseLatin1
, $IP
;
if( ! class_exists( $langclass ) ) {