#3354 : LanguagePt update by Get_it
[lhc/web/wiklou.git] / includes / Setup.php
index 6707677..a5964ef 100644 (file)
@@ -80,7 +80,7 @@ if ( $wgUseDynamicDates ) {
 wfProfileOut( $fname.'-includes' );
 wfProfileIn( $fname.'-misc1' );
 
-$wgIP = wfGetIP();
+$wgIP = false; # Load on demand
 $wgRequest = new WebRequest();
 
 # Useful debug output
@@ -153,7 +153,7 @@ wfProfileIn( $fname.'-language1' );
 
 require_once( "$IP/languages/Language.php" );
 
-function setupLangObj(&$langclass) {
+function setupLangObj($langclass) {
        global $IP;
 
        if( ! class_exists( $langclass ) ) {