mirror of
https://github.com/fruithost/Panel.git
synced 2026-10-31 17:17:31 +09:00
23 lines
540 B
PHP
23 lines
540 B
PHP
<?php
|
|
use fruithost\Localization\I18N;
|
|
use fruithost\Accounting\Auth;
|
|
use fruithost\System\Utils;
|
|
|
|
$template->header();
|
|
|
|
if(!Auth::hasPermission('SERVER::VIEW')) {
|
|
?>
|
|
<div class="alert alert-danger mt-4" role="alert">
|
|
<strong><?php I18N::__('Access denied!'); ?></strong>
|
|
<p class="pb-0 mb-0"><?php I18N::__('You have no permissions for this page.'); ?></p>
|
|
</div>
|
|
<?php
|
|
$template->footer();
|
|
exit();
|
|
}
|
|
|
|
print "<pre>";
|
|
print_r(`lshw -C network -json`);
|
|
|
|
$this->footer();
|
|
?>
|