From: Jens Frank Date: Sun, 24 Oct 2004 08:29:34 +0000 (+0000) Subject: Add $IP to list of globals, since it is undefined otherwise X-Git-Tag: 1.5.0alpha1~1468 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=8b44e2c9d4200966b2822157cb065b87cfccb0b9;p=lhc%2Fweb%2Fwiklou.git Add $IP to list of globals, since it is undefined otherwise --- diff --git a/includes/Setup.php b/includes/Setup.php index 6e41cdee4a..ae39a584f7 100644 --- 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 ) ) {