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:52:49 -03:00
parent 757504314e
commit 578bda6425

View file

@ -6,6 +6,9 @@ require_once '../videos/configuration.php';
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');
$path = getVideosDir();
$total = Video::getTotalVideos("", false, true, true, false, false);
$videos = Video::getAllVideosLight("", false, true, false);