From b6e4d6dd3472ad1e1b76c75f260853d6395114ac Mon Sep 17 00:00:00 2001 From: wrongecho Date: Fri, 20 Sep 2024 21:40:05 +0100 Subject: [PATCH] Temp revert new admin check to allow DB updates --- inc_all_admin.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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";