mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
16 lines
281 B
PHP
16 lines
281 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;
|
|
}
|
|
}
|
|
?>
|