If you call function wfGetIP, it might help to implement it first ;-)
authorMagnus Manske <magnusmanske@users.mediawiki.org>
Thu, 31 Mar 2005 11:11:37 +0000 (11:11 +0000)
committerMagnus Manske <magnusmanske@users.mediawiki.org>
Thu, 31 Mar 2005 11:11:37 +0000 (11:11 +0000)
includes/Setup.php

index bfbe0c7..4317e1b 100644 (file)
@@ -82,7 +82,7 @@ global $wgUseOldExistenceCheck, $wgEnablePersistentLC, $wgMasterWaitTimeout;
 
 global $wgFullyInitialised;
 
-$wgIP = wfGetIP();
+if ( is_callable ( "wfGetIP" ) ) $wgIP = wfGetIP();
 $wgRequest = new WebRequest();
 
 # Useful debug output