diff options
Diffstat (limited to 'api/me.php')
-rw-r--r-- | api/me.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/api/me.php b/api/me.php deleted file mode 100644 index 385e662..0000000 --- a/api/me.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.inc"; global $isLoggedIn; -if (!$isLoggedIn) header("Location: /-/login") and die(); -global $_PROFILE; - -header("Content-Type: application/json"); - -if ($_PROFILE['login'] === "raindrops") { - die('{"name": "Raindrops System", "id": "raindrops", "pluralkit": "gdapd"}'); -} else { - die('{"name": "Cloudburst System", "id": "cloudburst", "pluralkit": "ynmuc"}'); -} |