Temp revert new admin check to allow DB updates

This commit is contained in:
wrongecho 2024-09-20 21:40:05 +01:00
parent 26e4dc5fb3
commit b6e4d6dd34
1 changed files with 4 additions and 3 deletions

View File

@ -6,9 +6,10 @@ require_once "functions.php";
require_once "check_login.php"; require_once "check_login.php";
if (!isset($session_is_admin) || !$session_is_admin) { validateAdminRole();
exit(WORDING_ROLECHECK_FAILED . "<br>Tell your admin: Your role does not have admin access."); //if (!isset($session_is_admin) || !$session_is_admin) {
} // exit(WORDING_ROLECHECK_FAILED . "<br>Tell your admin: Your role does not have admin access.");
//}
require_once "header.php"; require_once "header.php";