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.
 
 
 
 
 

31 lines
913 B

<?php
include __DIR__.'/../include/config.php';
if (!isset($_GET['action'])) {
exit();
}
switch($_GET['action']) {
case 'stream':
// http://mydl.cabillot.eu/stream/?myurl=https://1fichier.com/?fgrh5c7roq
include __DIR__.'/../controller/stream.php';
getStream();
break;
case 'download':
// http://mydl.cabillot.eu/download/?myurls[]=https://1fichier.com/?fgrh5c7roq
include __DIR__.'/../controller/download.php';
addDownload();
break;
case 'launchdownload':
// http://mydl.cabillot.eu/launchdownload/
Download::launchNextDownload();
break;
case 'cleanList':
// https://mydl.cabillot.eu/?action=cleanList&state=dupp
include __DIR__.'/../controller/status.php';
cleanList();
break;
case 'getHostersList':
echo json_encode(PremiumizeMe::getHosters()['hostershort']);
}