* Use PLURAL for 'search-result-size'
[lhc/web/wiklou.git] / includes / HttpFunctions.php
index 6ea3abd..9ab7447 100644 (file)
@@ -24,7 +24,7 @@ class Http {
                # Use curl if available
                if ( function_exists( 'curl_init' ) ) {
                        $c = curl_init( $url );
-                       if ( wfIsLocalURL( $url ) ) {
+                       if ( self::isLocalURL( $url ) ) {
                                curl_setopt( $c, CURLOPT_PROXY, 'localhost:80' );
                        } else if ($wgHTTPProxy) {
                                curl_setopt($c, CURLOPT_PROXY, $wgHTTPProxy);