mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +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;
|
||
|
}
|
||
|
}
|
||
|
?>
|