blob: b4dc96afc9c8a1925955d76af1f41f551dcad0ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
if (isset($_GET["ec"])) {
header("HTTP/1.1 " . $_GET["ec"] . " Error");
}
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $isLoggedIn; global $isLowerLoggedIn;
if ($isLoggedIn || $isLowerLoggedIn) {
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/fragments/dashboard.inc";
} else {
require_once $_SERVER['DOCUMENT_ROOT'] . "/pages/public.inc";
}
|