diff --git a/index.php b/index.php index 354cb19..4751dc3 100755 --- a/index.php +++ b/index.php @@ -190,10 +190,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";