Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jun 27, 2024
1 parent c8718b2 commit 7a379f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects/functionsExec.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ function getDurationFromFile($file)
if (!file_exists($videoFile)) {
$file_headers = @get_headers($videoFile);
if (!$file_headers || $file_headers[0] == 'HTTP/1.1 404 Not Found') {
error_log('getDurationFromFile try 1, File (' . $videoFile . ') Not Found');
error_log('getDurationFromFile try 1, File (' . $videoFile . ') Not Found original='.$file);
$videoFile = $hls;
}
}
if (!file_exists($videoFile)) {
$file_headers = @get_headers($videoFile);
if (!$file_headers || $file_headers[0] == 'HTTP/1.1 404 Not Found') {
error_log('getDurationFromFile try 2, File (' . $videoFile . ') Not Found');
error_log('getDurationFromFile try 2, File (' . $videoFile . ') Not Found original='.$file);
$videoFile = '';
}
}
Expand Down

0 comments on commit 7a379f1

Please sign in to comment.