mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
3dfdf0949d
commit
4e2f039236
1 changed files with 4 additions and 0 deletions
|
@ -249,7 +249,11 @@ if (!empty($matches)) {
|
|||
|
||||
$directory = dirname($output['avideoPath']);
|
||||
|
||||
_error_log("Create dir: {$directory}");
|
||||
make_path($directory);
|
||||
if(!is_dir($directory)){
|
||||
die('error on create dir');
|
||||
}
|
||||
} else {
|
||||
_error_log("matches not found: {$ffmpegCommand}");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue