From: Alexandre Emsenhuber Date: Wed, 22 Apr 2009 19:16:11 +0000 (+0000) Subject: Use Http::get() rather than file_get_contents() X-Git-Tag: 1.31.0-rc.0~42074 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=ebea5ce1d1f23b5a01c9d9c99ffd4ba80cb56bb4;p=lhc%2Fweb%2Fwiklou.git Use Http::get() rather than file_get_contents() --- diff --git a/includes/ExternalStoreHttp.php b/includes/ExternalStoreHttp.php index e81395860e..37fbbe6058 100644 --- a/includes/ExternalStoreHttp.php +++ b/includes/ExternalStoreHttp.php @@ -6,8 +6,8 @@ */ class ExternalStoreHttp { /* Fetch data from given URL */ - function fetchFromURL($url) { - $ret = file_get_contents( $url ); + function fetchFromURL( $url ) { + $ret = Http::get( $url ); return $ret; }