|
|
|
@ -3,11 +3,14 @@ |
|
|
|
include dirname(__FILE__).'/../include/config.php'; |
|
|
|
|
|
|
|
if (!isset($_GET['action'])) { |
|
|
|
echo 'Pas d\'action, exit'; |
|
|
|
exit; |
|
|
|
$_GET['action'] = 'status'; |
|
|
|
} |
|
|
|
|
|
|
|
switch($_GET['action']) { |
|
|
|
case 'status': |
|
|
|
include dirname(__FILE__).'/../controller/status.php'; |
|
|
|
getStatus(); |
|
|
|
break; |
|
|
|
case 'stream': |
|
|
|
// http://mydl.cabillot.eu/?myurl=https://1fichier.com/?yawxht1b3y
|
|
|
|
include dirname(__FILE__).'/../controller/stream.php'; |
|
|
|
|