Gazelle/sections/upload/index.php

15 lines
305 B
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<?
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');
}
?>