add tailadmin
This commit is contained in:
@@ -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
0
front/panel/home.php
Normal file
13
front/panel/index.php
Normal file
13
front/panel/index.php
Normal 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;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user