diff options
Diffstat (limited to 'includes/ExternalStoreHttp.php')
-rw-r--r-- | includes/ExternalStoreHttp.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/ExternalStoreHttp.php b/includes/ExternalStoreHttp.php index cff6c4d4..ef907df5 100644 --- a/includes/ExternalStoreHttp.php +++ b/includes/ExternalStoreHttp.php @@ -9,9 +9,9 @@ class ExternalStoreHttp { /* Fetch data from given URL */ function fetchFromURL($url) { - ini_set( "allow_url_fopen", true ); - $ret = file_get_contents( $url ); - ini_set( "allow_url_fopen", false ); + ini_set( "allow_url_fopen", true ); + $ret = file_get_contents( $url ); + ini_set( "allow_url_fopen", false ); return $ret; } |