userLogOut(); } if(!empty($websiteUrl)) { $add_http = ""; if(strpos($websiteUrl,"http://") === false) { $add_http = "http://"; } header("Location: ".$add_http.$websiteUrl); die(); } else { header("Location: http://".$_SERVER['HTTP_HOST']); die(); } ?>