Silence errors from file_get_contents here

This commit is contained in:
Derick Rethans
2023-11-15 15:20:42 +00:00
parent 141680d383
commit 75f77c6cd3

View File

@@ -255,7 +255,7 @@ class PackageDll
$ret = [];
$ctx = stream_context_create(["http" => ["header" => "User-Agent: WebPecl/1.0"]]);
$r = file_get_contents("https://$host$uri/", false, $ctx);
$r = @file_get_contents("https://$host$uri/", false, $ctx);
if (false === $r) {
return NULL;
}