[-] 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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user