1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
DanielnetoDotCom 2021-05-06 18:20:15 -03:00
parent 2f5a5c6a39
commit 776e853ac0

View file

@ -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;