mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +02:00
Admin Permisions
This commit is contained in:
parent
375403135e
commit
a7502aa8fb
16 changed files with 150 additions and 69 deletions
|
@ -18,7 +18,7 @@ use PEAR2\Net\RouterOS;
|
|||
require_once 'system/autoload/PEAR2/Autoload.php';
|
||||
|
||||
if (!in_array($admin['user_type'], ['SuperAdmin', 'Admin'])) {
|
||||
r2(U . "dashboard", 'e', Lang::T('You do not have permission to access this page'));
|
||||
_alert(Lang::T('You do not have permission to access this page'),'danger', "dashboard");
|
||||
}
|
||||
|
||||
switch ($action) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue