[-] FO : fix #PSFV-348 for ce http page to remain http

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12248 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-01-09 08:29:21 +00:00
parent f13e348dcb
commit 50457dec2b
+6
View File
@@ -103,6 +103,12 @@ class FrontControllerCore extends Controller
header('Location: '.Tools::getShopDomainSsl(true).$_SERVER['REQUEST_URI']);
exit();
}
else if (Configuration::get('PS_SSL_ENABLED') AND Tools::usingSecureMode() AND !($this->ssl))
{
header('HTTP/1.1 301 Moved Permanently');
header('Location: '.Tools::getShopDomain(true).$_SERVER['REQUEST_URI']);
exit();
}
if ($this->ajax)
{