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