mirror of
https://github.com/fruithost/Panel.git
synced 2026-11-30 20:35:44 +09:00
21 lines
395 B
PHP
21 lines
395 B
PHP
<?php
|
|
use fruithost\Auth;
|
|
use fruithost\Utils;
|
|
|
|
$template->header();
|
|
|
|
if(!Auth::hasPermission('SERVER::MANAGE')) {
|
|
?>
|
|
<div class="alert alert-danger mt-4" role="alert">
|
|
<strong>Access denied!</strong>
|
|
<p class="pb-0 mb-0">You have no permissions for this page.</p>
|
|
</div>
|
|
<?php
|
|
$template->footer();
|
|
exit();
|
|
}
|
|
?>
|
|
|
|
<?php
|
|
$template->footer();
|
|
?>
|