summaryrefslogtreecommitdiff
path: root/api/session.php
blob: 3cf7cff79f1866c3d252a0856cf612f4edc4781d (plain)
1
2
3
4
5
6
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn;

header("Content-Type: text/plain");
die($isLoggedIn ? "VALID" : "ERROR");