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

This commit is contained in:
Bye 2024-03-29 22:04:24 +00:00
commit c147c2e33b

View file

@ -191,10 +191,10 @@ if ($migrated) {
echo "<h2 class=\"subheading\">Admin</h2>"; echo "<h2 class=\"subheading\">Admin</h2>";
} }
// if ($uri[0] == "admin" && !$user['is_admin']) { if ($uri[0] == "admin" && !$user['is_admin']) {
// http_response_code(401); 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.' />"); 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") { if ($uri[0] == "docs") {
$include = "docs.php"; $include = "docs.php";