Skip to content
Snippets Groups Projects
Commit c147c2e3 authored by Bye's avatar Bye
Browse files

Merge branch 'main' of github.com:byecorps/id

parents b007cff0 004009ca
No related branches found
No related tags found
1 merge request!1Update production branch so it can be used
......@@ -191,10 +191,10 @@ if ($migrated) {
echo "<h2 class=\"subheading\">Admin</h2>";
}
// if ($uri[0] == "admin" && !$user['is_admin']) {
// http_response_code(401);
// die("<img src='https://http.cat/401.jpg' alt='A cat standing in front of a door with a No Cats Allowed sign on it.' />");
// }
if ($uri[0] == "admin" && !$user['is_admin']) {
http_response_code(401);
die("<img src='https://http.cat/401.jpg' alt='A cat standing in front of a door with a No Cats Allowed sign on it.' />");
}
if ($uri[0] == "docs") {
$include = "docs.php";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment