From: Tim Starling Date: Thu, 31 Mar 2005 12:06:38 +0000 (+0000) Subject: fixed bug X-Git-Tag: 1.5.0alpha1~442 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=1b76906d654f4a903867738c73fb7acfcb8837e2;p=lhc%2Fweb%2Fwiklou.git fixed bug --- diff --git a/includes/Setup.php b/includes/Setup.php index 4317e1bafc..45fd9cd192 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -66,6 +66,7 @@ require_once( 'ParserCache.php' ); require_once( 'WebRequest.php' ); require_once( 'LoadBalancer.php' ); require_once( 'HistoryBlob.php' ); +require_once( 'ProxyTools.php' ); wfProfileOut( $fname.'-includes' ); wfProfileIn( $fname.'-misc1' ); @@ -82,7 +83,7 @@ global $wgUseOldExistenceCheck, $wgEnablePersistentLC, $wgMasterWaitTimeout; global $wgFullyInitialised; -if ( is_callable ( "wfGetIP" ) ) $wgIP = wfGetIP(); +$wgIP = wfGetIP(); $wgRequest = new WebRequest(); # Useful debug output