add tailadmin

This commit is contained in:
marc-go
2026-02-17 19:52:14 +01:00
parent c82f80fe74
commit 75899064c5
5 changed files with 18 additions and 3 deletions

View File

@@ -23,5 +23,6 @@ if (!$mcServ->checkLogin()) {
header("Location: /login.php");
exit;
}else{
echo "angemeldet";
}
header("Location: /panel");
exit;
}

0
front/panel/home.php Normal file
View File

13
front/panel/index.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
require "../../main.php";
$mcServ = new mcServ();
if ($mcServ->checkLogin()) {
header("Location: /admin/home.php");
exit;
}else{
header("Location: /login.php");
exit;
}
?>