Fix bugs
This commit is contained in:
9
front/index.php
Normal file → Executable file
9
front/index.php
Normal file → Executable file
@@ -20,8 +20,9 @@ if (!$mcServ->checkConf()) {
|
||||
}
|
||||
|
||||
if (!$mcServ->checkLogin()) {
|
||||
header("Location: /admin");
|
||||
exit;
|
||||
/*header("Location: /login.php");
|
||||
exit;*/
|
||||
}else{
|
||||
echo "true";
|
||||
}
|
||||
echo "angemeldet";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user