diff --git a/web/views/view_video.php b/web/views/view_video.php index c94f1d9b7..4717e5f96 100644 --- a/web/views/view_video.php +++ b/web/views/view_video.php @@ -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(); }