1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-27 01:54:40 +02:00

Fix some HTTP error codes (404->500)

This commit is contained in:
ORelio
2015-10-22 15:20:42 +02:00
parent 5c987b74d5
commit 0051615b82
5 changed files with 9 additions and 9 deletions

View File

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