mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
2f5a5c6a39
commit
776e853ac0
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ foreach ($videos as $value) {
|
|||
$glob = glob("{$basename}*");
|
||||
$totalItems = count($glob);
|
||||
if($totalItems){
|
||||
make_path($basename);
|
||||
echo "Creating dir {$basename} " . PHP_EOL;
|
||||
make_path(addLastSlash($basename));
|
||||
}
|
||||
echo "Found total of {$totalItems} items " . PHP_EOL;
|
||||
$dirname = $basename.DIRECTORY_SEPARATOR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue