diff options
Diffstat (limited to 'admin/cat_modify.php')
-rw-r--r-- | admin/cat_modify.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php index e06e1a8cb..d1aad58c0 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -29,7 +29,14 @@ 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); + //---------------------------------------------------------------- verification if ( !isset( $_GET['cat_id'] ) || !is_numeric( $_GET['cat_id'] ) ) { |