Log an error with path when can't open video
This commit is contained in:
parent
159edbfce9
commit
67dac2651b
|
@ -55,7 +55,8 @@ if ( $errorText ) {
|
|||
die();
|
||||
}
|
||||
|
||||
if ( ! ($fh = @fopen($path,'rb') ) ) {
|
||||
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