mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
18 lines
297 B
PHP
18 lines
297 B
PHP
<?
|
|
if (isset($LoggedUser['ID'])) {
|
|
if (!isset($_REQUEST['action'])) {
|
|
include('private.php');
|
|
} else {
|
|
switch ($_REQUEST['action']) {
|
|
case 'poll':
|
|
include(SERVER_ROOT.'/sections/forums/poll_vote.php');
|
|
break;
|
|
default:
|
|
error(0);
|
|
}
|
|
}
|
|
} else {
|
|
include('public.php');
|
|
}
|
|
?>
|