=========================== */ ?> isAuthenticated()) { header("Location: ".$conf->urlGelato."/admin/index.php"); } else { if (isset($_POST["pass"]) && isset($_POST["login"])) { //print "
"; print_r($_SESSION); print "";die(); if ($user->validateUser($_POST['login'], md5($_POST['pass']))) { header("Location: ".$conf->urlGelato."/admin/index.php"); } else { header("Location: ".$conf->urlGelato."/login.php?error=1"); } } else { ?>