Files
panel/front/index.php
2026-02-17 19:52:14 +01:00

28 lines
725 B
PHP
Executable File

<?php
/*
_____ _____ _ _
/ ____| / ____| | | | |
_ __ ___ ___| (___ ___ _ ____ _| | ___ _ __ | |_ _ __ ___ | |
| '_ ` _ \ / __|\___ \ / _ \ '__\ \ / / | / _ \| '_ \| __| '__/ _ \| |
| | | | | | (__ ____) | __/ | \ V /| |___| (_) | | | | |_| | | (_) | |
|_| |_| |_|\___|_____/ \___|_| \_/ \_____\___/|_| |_|\__|_| \___/|_|
* By marc-go
*/
require "../main.php";
$mcServ = new mcServ();
if (!$mcServ->checkConf()) {
header("Location: /setup.html");
exit;
}
if (!$mcServ->checkLogin()) {
header("Location: /login.php");
exit;
}else{
header("Location: /panel");
exit;
}