diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ $www_domain = 'www.' . $domain; if (G_VHOST == $domain) { // rewrite "//mageia.org/" to "//www.mageia.org/" header ('HTTP/1.1 301 Moved Permanently'); - header(sprintf('Location: //%s%s', $www_domain, $_SERVER['REQUEST_URI'])); + header(sprintf('Location: %s://%s%s', 'https', $www_domain, $_SERVER['REQUEST_URI'])); die; } elseif (isset($_GET['fromtld'])) { |