1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
DanielnetoDotCom 2021-05-06 11:59:33 -03:00
parent aa1660cf5d
commit 8d10a21299

View file

@ -7,7 +7,9 @@ if (!isCommandLineInterface()) {
return die('Command Line only');
}
die('This may bring you problems if you are using S3 or B2 or FTP or YPTstorage, but if you are using only the local storage, you can comment this line and run this script');
if(isAnyStorageEnabled()){
die('This may bring you problems if you are using S3 or B2 or FTP or YPTstorage, but if you are sure what you are doing, you can comment this line and run this script');
}
$path = getVideosDir();
$total = Video::getTotalVideos("", false, true, true, false, false);