diff --git a/inc_all_admin.php b/inc_all_admin.php index 153395938..500af82bb 100644 --- a/inc_all_admin.php +++ b/inc_all_admin.php @@ -6,9 +6,10 @@ require_once "check_login.php"; -if (!isset($session_is_admin) || !$session_is_admin) { - exit(WORDING_ROLECHECK_FAILED . "
Tell your admin: Your role does not have admin access."); -} +validateAdminRole(); +//if (!isset($session_is_admin) || !$session_is_admin) { +// exit(WORDING_ROLECHECK_FAILED . "
Tell your admin: Your role does not have admin access."); +//} require_once "header.php";