mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
[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:
parent
747e54d64a
commit
4a1f360d39
8 changed files with 10 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue