checkConf()) { header("Location: /setup.html"); exit; } if (!$mcServ->checkLogin()) { header("Location: /login.php"); exit; }else{ header("Location: /panel"); exit; }