session_start(); if ($_SESSION['admin_pass'] == true) { header("Location: dashboard.php"); } if ($_GET['lo'] ==1) { session_destroy(); } ?>