Link Redirect
A function to make a redirect to another page on the website.
Base Idea:
$link = isset($_SERVER['HTTPS']) ? 'https' : 'http'; $link .= "://" . $_SERVER['HTTP_HOST'] . substr(Core::Link(array('module' => 'MODULE', 'page' => 'PAGE')), 1); header('Location: ' . $link);