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