diff --git a/index.php b/index.php index 90a06e1..9f068c5 100755 --- a/index.php +++ b/index.php @@ -191,10 +191,10 @@ if ($migrated) { echo "

Admin

"; } -// if ($uri[0] == "admin" && !$user['is_admin']) { -// http_response_code(401); -// die("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("A cat standing in front of a door with a No Cats Allowed sign on it."); + } if ($uri[0] == "docs") { $include = "docs.php";