[-] FO : Fix SSL redirection
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15507 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
ff9720fc6d
commit
1dfcca6270
1 file changed
+4
@@ -107,6 +107,10 @@ class FrontControllerCore extends Controller
|
|||||||
|
|
||||||
parent::init();
|
parent::init();
|
||||||
|
|
||||||
|
// If current URL use SSL, set it true (used a lot for module redirect)
|
||||||
|
if (Tools::usingSecureMode())
|
||||||
|
$useSSL = $this->ssl = true;
|
||||||
|
|
||||||
// For compatibility with globals, DEPRECATED as of version 1.5
|
// For compatibility with globals, DEPRECATED as of version 1.5
|
||||||
$css_files = $this->css_files;
|
$css_files = $this->css_files;
|
||||||
$js_files = $this->js_files;
|
$js_files = $this->js_files;
|
||||||
|
|||||||
Reference in new issue
Block a user