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

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

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