Skip to content
Snippets Groups Projects
Commit 67348eed authored by bx khateri's avatar bx khateri
Browse files

admin dd

parent 6f0a3a50
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,7 @@ if (!$obj->loggedin($obj)) { ...@@ -6,8 +6,7 @@ if (!$obj->loggedin($obj)) {
} else if (!$obj->acountVerified($obj)) { } else if (!$obj->acountVerified($obj)) {
header("Location: verifyemail.php"); header("Location: verifyemail.php");
} else if (!$obj->isAdmin($obj)) { } else if (!$obj->isAdmin($obj)) {
header("Location: " . $_SERVER['HTTP_REFERER']); header("Location: index.php");
die();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment