Gestion download au travers de premiumizeme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
302 B

1 year ago
1 year ago
  1. <?php
  2. include __DIR__.'/include/config.php';
  3. if (!file_exists(DOWNLOADEDDIR.'/.mydlok')) {
  4. echo '.mydlok absent, le filesystem n\'est pas disponible ? exit';
  5. sleep(30);
  6. exit(1);
  7. }
  8. # TODO: fetch that from env
  9. for ($i = 0; $i < 20; $i++) {
  10. Download::launchNextDownload();
  11. sleep(30);
  12. }