diff options
Diffstat (limited to 'admin/rating.php')
-rw-r--r-- | admin/rating.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/admin/rating.php b/admin/rating.php index 38f58f3ff..072a2abdb 100644 --- a/admin/rating.php +++ b/admin/rating.php @@ -29,8 +29,13 @@ if (!defined('PHPWG_ROOT_PATH')) { die ("Hacking attempt!"); } -include_once(PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php'); +include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); + +// +-----------------------------------------------------------------------+ +// | Check Access and exit when user status is not ok | +// +-----------------------------------------------------------------------+ +check_status(ACCESS_ADMINISTRATOR); // +-----------------------------------------------------------------------+ // | initialization | |