[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

@ -102,7 +102,7 @@ class MangareaderBridge extends BridgeAbstract{
}
// We'll use the DOM parser for this as it makes navigation easier
$html = file_get_contents("http://www.mangareader.net/" . $path);
$html = $this->getContents("http://www.mangareader.net/" . $path);
if(!$html){
$this->returnClientError('Could not receive data for ' . $path . '!');
}