mirror of
https://github.com/fruithost/Panel.git
synced 2026-11-07 04:22:35 +09:00
18 lines
329 B
PHP
18 lines
329 B
PHP
<?php
|
|
use fruithost\Auth;
|
|
|
|
$template->header();
|
|
|
|
if(!Auth::hasPermission('*')) {
|
|
?>
|
|
<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();
|
|
}
|
|
|
|
$template->footer();
|
|
?>
|