1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2025-01-07 11:21:28 -03:00
parent 3dfdf0949d
commit 4e2f039236

View file

@ -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}");
}