1
0
Fork 0
forked from blallo/rss-bridge

[contents] Don't suppress errors returned by file_get_contents

This commit is contained in:
logmanoriginal 2016-12-15 20:24:31 +01:00
parent cad78be37b
commit 4a1e5245b3

View file

@ -27,9 +27,9 @@ function getContents($url
}
if(is_null($maxlen)){
$content = @file_get_contents($url, $use_include_path, $context, $offset);
$content = file_get_contents($url, $use_include_path, $context, $offset);
} else {
$content = @file_get_contents($url, $use_include_path, $context, $offset, $maxlen);
$content = file_get_contents($url, $use_include_path, $context, $offset, $maxlen);
}
if($content === false)