From da910c770267b9f389e8991b4ec6e4cfda8a5912 Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Thu, 31 Mar 2005 11:11:37 +0000 Subject: [PATCH] If you call function wfGetIP, it might help to implement it first ;-) --- includes/Setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1