mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-17 22:03:13 -04:00
19 lines
317 B
PHP
19 lines
317 B
PHP
<?
|
|
enforce_login();
|
|
if (!isset($_REQUEST['action'])) {
|
|
error(404);
|
|
} else {
|
|
switch ($_REQUEST['action']) {
|
|
case 'users':
|
|
include(SERVER_ROOT.'/sections/stats/users.php');
|
|
break;
|
|
case 'torrents':
|
|
include(SERVER_ROOT.'/sections/stats/torrents.php');
|
|
break;
|
|
default:
|
|
error(404);
|
|
break;
|
|
}
|
|
}
|
|
?>
|