blob: b0162d33eb6ab588a3e16cadfd4b2fb99ea42fd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; 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"}');
}
|