csgen/index.php
2024-01-02 03:55:23 +01:00

23 lines
383 B
PHP
Executable file

<?php session_start();
include "config.php";
include "core.php";
$Error = "";
$html = "";
if (isset($_REQUEST['e'])) $Error = htmlspecialchars($_REQUEST['e']);
$subdir = isset($_GET['endpoint']) ? $_GET['endpoint'] : '/';
if (!checkIfAdminExists()) {
header("Location: setup.php");
die();
}
$html = printHeader($html, 1);
$html = printFooter($html);
print "$html";
?>