From c6df470866ce00f91345888eac6d8aa76db694dc Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 31 Jan 2023 10:40:30 +0100 Subject: Deleted 2 files (automated) --- api/booru-check.php | 24 ------------------------ api/booru.php | 8 -------- 2 files changed, 32 deletions(-) delete mode 100644 api/booru-check.php delete mode 100644 api/booru.php (limited to 'api') diff --git a/api/booru-check.php b/api/booru-check.php deleted file mode 100644 index b2a3800..0000000 --- a/api/booru-check.php +++ /dev/null @@ -1,24 +0,0 @@ - false, - "user" => null -]; - -if (isset($_GET["key"])) { - if (in_array($_GET["key"], $list)) { - $obj["valid"] = true; - - foreach (array_filter(scandir($_SERVER['DOCUMENT_ROOT'] . "/includes/tokens"), function ($i) { return !str_starts_with($i, "."); }) as $token) { - $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/tokens/" . $token), true); - $obj["user"] = $data["login"]; - } - } -} - -die(json_encode($obj)); \ No newline at end of file diff --git a/api/booru.php b/api/booru.php deleted file mode 100644 index 3c3c1d0..0000000 --- a/api/booru.php +++ /dev/null @@ -1,8 +0,0 @@ -