checkFailTime(); $auth->setURI(); if ($_SESSION['passedAge'] == true) { // do nothing } else { header("location:/na/age.php"); } if ($_SESSION['failedAge'] == true) { header("location:/na/sorry.php"); } ?>