[bridges] use BridgeAbstract::getContents instead of file_get_contents

use of the proxy feature when enabled

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-22 23:39:40 +02:00
parent 747e54d64a
commit 4a1f360d39
8 changed files with 10 additions and 10 deletions

View file

@ -37,7 +37,7 @@ class Releases3DSBridge extends BridgeAbstract {
}
$dataUrl = 'http://3dsdb.com/xml.php';
$xml = file_get_contents($dataUrl) or $this->returnServerError('Could not request 3dsdb: '.$dataUrl);
$xml = $this->getContents($dataUrl) or $this->returnServerError('Could not request 3dsdb: '.$dataUrl);
$limit = 0;
foreach (array_reverse(explode('<release>', $xml)) as $element) {