mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Temp revert new admin check to allow DB updates
This commit is contained in:
@@ -6,9 +6,10 @@ require_once "functions.php";
|
||||
|
||||
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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user