mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
aa1660cf5d
commit
8d10a21299
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue