As we don't use PS_SSL_ENABLED set directly an https

This commit is contained in:
Michael RICOIS 2017-12-07 12:21:26 +01:00
parent 6e6d8e25f9
commit e3710ac3be

View File

@ -48,7 +48,8 @@ class Ant_Canonical extends Module
$domain = Configuration::get('PS_SSL_ENABLED') ?
Configuration::get('PS_SHOP_DOMAIN_SSL') : Configuration::get('PS_SHOP_DOMAIN');
$host = str_replace('bebeboutik.com', 'bebeboutik.'.$tld, $domain);
$host = (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').$host;
//$host = (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').$host;
$host = 'https://'.$host;
// Page category
if ($page_name == 'category') {