set_include_path($_SERVER['DOCUMENT_ROOT'] . "/include/"); include 'cfg.php'; if($_SESSION['logged_in']){ header("Location: home.php"); exit; } ?>