Browse Source

plus de status par defaut, voir pour securiser cela

master
Cabillot Julien 6 years ago
parent
commit
d2e7c94f79
1 changed files with 4 additions and 3 deletions
  1. 7
      root/index.php

7
root/index.php

@ -3,12 +3,13 @@
include dirname(__FILE__).'/../include/config.php';
if (!isset($_GET['action'])) {
$_GET['action'] = 'status';
exit();
}
switch($_GET['action']) {
case 'status':
// http://mydl.cabillot.eu/
case 'admin':
// http://mydl.cabillot.eu/admin/
exit();
include dirname(__FILE__).'/../controller/status.php';
getStatus();
break;

Loading…
Cancel
Save