diff options
Diffstat (limited to 'admin/access.php')
-rw-r--r-- | admin/access.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/access.php b/admin/access.php index c96d0362..f9c73def 100644 --- a/admin/access.php +++ b/admin/access.php @@ -21,7 +21,7 @@ require '../lib/init.php'; -if (!$GLOBALS['user']->has_access(100) || Config::get('demo_mode')) { +if (!Access::check('interface','100')) { access_denied(); exit(); } |