blob: 048bcd44c8157504f1d10b3a8b76a209f927dc89 (
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['name'] === "Cloudburst System") {
die('{"name": "Cloudburst System", "id": "cloudburst", "pluralkit": "ynmuc"}');
} else {
die('{"name": "Raindrops System", "id": "raindrops", "pluralkit": "gdapd"}');
}
|