mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 11:56:25 +00:00
15 lines
305 B
PHP
15 lines
305 B
PHP
<?
|
|
enforce_login();
|
|
if(!check_perms('site_upload')) { error(403); }
|
|
if($LoggedUser['DisableUpload']) {
|
|
error('Your upload privileges have been revoked.');
|
|
}
|
|
//build the page
|
|
|
|
if(!empty($_POST['submit'])) {
|
|
include('upload_handle.php');
|
|
} else {
|
|
include(SERVER_ROOT.'/sections/upload/upload.php');
|
|
}
|
|
?>
|