summaryrefslogtreecommitdiffstats
path: root/admin/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/index.php')
-rw-r--r--admin/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/index.php b/admin/index.php
index ea2d7e14..ee66a291 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2007 Ampache.org
+ Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
require '../lib/init.php';
-if (!$GLOBALS['user']->has_access(100)) {
+if (!Access::check('interface',100)) {
access_denied();
exit();
}