http to https for newsletter

This commit is contained in:
Marion Muszynski 2017-04-03 12:52:49 +02:00
parent dcba09e9c9
commit 028fb3b087

View File

@ -119,7 +119,7 @@ class Catalog
$this->_xml .= '<logo>http://www.bebeboutik.es/img/logo_3.png</logo>';
$title_sunday = Configuration::get('TITLE_NEWS_DIMANCHE_ES');
$link_sale = 'http://www.bebeboutik.es';
$link_sale = 'https://www.bebeboutik.es';
$all_sales = 'Todas las ventas';
} else {
$flux = fopen("flux.xml", "w");
@ -127,12 +127,12 @@ class Catalog
$this->_xml .= '<channel>';
//Shop details
$this->_xml .= '<title>Bebeboutik.com</title>';
$this->_xml .= '<link>www.bebeboutik.com</link>';
$this->_xml .= '<link>https://www.bebeboutik.com</link>';
$this->_xml .= '<description>Bebeboutik.com</description>';
$this->_xml .= '<logo>http://www.bebeboutik.com/img/logo.png</logo>';
$title_sunday = Configuration::get('TITLE_NEWS_DIMANCHE');
$link_sale = 'http://www.bebeboutik.com';
$link_sale = 'https://www.bebeboutik.com';
$all_sales = 'Toutes les ventes';
}
@ -161,6 +161,7 @@ class Catalog
if ($version == 'es') {
$sale_link = str_replace('bebeboutik.com', 'bebeboutik.es', $sale_link);
}
$sale_link = str_replace('http://','https://', $sale_link);
$sql = '
SELECT `value`
FROM `'._DB_PREFIX_.'privatesale_extrafield_sale`
@ -211,6 +212,7 @@ class Catalog
if ($version == 'es') {
$sale_link = str_replace('bebeboutik.com', 'bebeboutik.es', $sale_link);
}
$sale_link = str_replace('http://','https://', $sale_link);
$sql = '
SELECT `value`
@ -264,6 +266,7 @@ class Catalog
if ($version == 'es') {
$sale_link = str_replace('bebeboutik.com', 'bebeboutik.es', $sale_link);
}
$sale_link = str_replace('http://','https://', $sale_link);
$sql = '
SELECT `value`
@ -316,6 +319,7 @@ class Catalog
if ($version == 'es') {
$sale_link = str_replace('bebeboutik.com', 'bebeboutik.es', $sale_link);
}
$sale_link = str_replace('http://','https://', $sale_link);
$sql = '
SELECT `value`