Log an error with path when can't open video
This commit is contained in:
parent
159edbfce9
commit
67dac2651b
|
@ -56,6 +56,7 @@ if ( $errorText ) {
|
|||
}
|
||||
|
||||
if ( ! ($fh = @fopen($path, 'rb') ) ) {
|
||||
ZM\Error('Can\'t open video at '.$path);
|
||||
header('HTTP/1.0 404 Not Found');
|
||||
die();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue