Add login

This commit is contained in:
marc-go committed 2026-02-14 19:06:07 +01:00
1 parent d04d005b1b
commit e12ad0ad7e
6 files changed
+37 -6

No files matched your search

+5 -2
View File
@@ -7,7 +7,7 @@
| | | | | | (__ ____) | __/ | \ V /| |___| (_) | | | | |_| | | (_) | |
|_| |_| |_|\___|_____/ \___|_| \_/ \_____\___/|_| |_|\__|_| \___/|_|
* By RootMarc
* By marc-go
*/
require "../main.php";
@@ -20,5 +20,8 @@ if (!$mcServ->checkConf()) {
}
if (!$mcServ->checkLogin()) {
header("Location: /admin");
exit;
}else{
echo "true";
}