Index: trunk/extensions/ExternalData/ED_ParserFunctions.php |
— | — | @@ -143,7 +143,7 @@ |
144 | 144 | } |
145 | 145 | |
146 | 146 | if( !isset( $edgCacheTable ) || is_null( $edgCacheTable ) ) |
147 | | - return @file_get_contents( $url ); |
| 147 | + return Http::get( $url ); |
148 | 148 | |
149 | 149 | // check the cache (only the first 254 chars of the url) |
150 | 150 | $res = $dbr->select( $edgCacheTable, '*', array( 'url' => substr($url,0,254) ), 'EDParserFunctions::doRequest' ); |