if (iMEMBER || !$settings['enable_registration']) { redirect("index.php"); }