Skip to content

Commit

Permalink
Temp revert new admin check to allow DB updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongecho committed Sep 20, 2024
1 parent 26e4dc5 commit b6e4d6d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions inc_all_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

require_once "check_login.php";

if (!isset($session_is_admin) || !$session_is_admin) {
exit(WORDING_ROLECHECK_FAILED . "<br>Tell your admin: Your role does not have admin access.");
}
validateAdminRole();
//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";

Expand Down

0 comments on commit b6e4d6d

Please sign in to comment.