<?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"}');
}