mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
5067030f2e
commit
74bf8ecd04
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@ require_once '../videos/configuration.php';
|
||||||
if (!isCommandLineInterface()) {
|
if (!isCommandLineInterface()) {
|
||||||
return die('Command Line only');
|
return die('Command Line only');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_time_limit(300);
|
||||||
|
ini_set('max_execution_time', 300);
|
||||||
|
|
||||||
$global['rowCount'] = $global['limitForUnlimitedVideos'] = 999999;
|
$global['rowCount'] = $global['limitForUnlimitedVideos'] = 999999;
|
||||||
$path = getVideosDir();
|
$path = getVideosDir();
|
||||||
$total = Video::getTotalVideos("", false, true, true, false, false);
|
$total = Video::getTotalVideos("", false, true, true, false, false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue