From: Magnus Manske Date: Thu, 31 Mar 2005 11:11:37 +0000 (+0000) Subject: If you call function wfGetIP, it might help to implement it first ;-) X-Git-Tag: 1.5.0alpha1~444 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=da910c770267b9f389e8991b4ec6e4cfda8a5912;p=lhc%2Fweb%2Fwiklou.git If you call function wfGetIP, it might help to implement it first ;-) --- diff --git a/includes/Setup.php b/includes/Setup.php index bfbe0c7bd3..4317e1bafc 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -82,7 +82,7 @@ global $wgUseOldExistenceCheck, $wgEnablePersistentLC, $wgMasterWaitTimeout; global $wgFullyInitialised; -$wgIP = wfGetIP(); +if ( is_callable ( "wfGetIP" ) ) $wgIP = wfGetIP(); $wgRequest = new WebRequest(); # Useful debug output