mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Fix permissions
This commit is contained in:
parent
90eb5da21a
commit
0c5f812c96
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ foreach ($videos as $value) {
|
|||
$countItems++;
|
||||
echo "[$countItems/$totalItems] Process file {$file} " . PHP_EOL;
|
||||
if (is_dir($file)) {
|
||||
if(!$isStorage || Video::isNewVideoFilename($move['oldDir'])){
|
||||
if(!$isStorage && !Video::isNewVideoFilename($move['oldDir'])){
|
||||
//echo $file.PHP_EOL;
|
||||
$move = Video::updateDirectoryFilename($file);
|
||||
echo "-->".PHP_EOL." {$count}/{$total} move directory {$move['oldDir']} to {$move['newDir']} ".PHP_EOL."<--" . PHP_EOL . PHP_EOL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue