From 370e83bb0dfd0c70de268c93bf07ad5ee0897192 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 15 Aug 2008 01:29:47 +0200 Subject: Update auf 1.13.0 --- includes/HttpFunctions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'includes/HttpFunctions.php') diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 6ea3abd0..555a79b7 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -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); @@ -118,4 +118,3 @@ class Http { return false; } } - -- cgit v1.2.2