mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-25 07:48:26 -04:00
Don't output errors from remote commands as it breaks ui
This commit is contained in:
1 parent
357ce14c94
commit
ebb37ebc98
1 file changed
+1
-1
@@ -152,7 +152,7 @@ class Server extends ZM_Object {
|
||||
|
||||
$context = stream_context_create();
|
||||
try {
|
||||
$result = file_get_contents($url, false, $context);
|
||||
$result = @file_get_contents($url, false, $context);
|
||||
if ($result === FALSE) { /* Handle error */
|
||||
Error("Error using $url");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user