diff --git a/admin-dev/ajax.php b/admin-dev/ajax.php
index 59cbcd659..e6731d685 100644
--- a/admin-dev/ajax.php
+++ b/admin-dev/ajax.php
@@ -721,7 +721,7 @@ if (Tools::isSubmit('getAdminHomeElement'))
else
$result['discover_prestashop'] = 'NOK';
- if (@fsockopen('www.prestashop.com', 80, $errno, $errst, 3))
+ if (@fsockopen('api.prestashop.com', 80, $errno, $errst, 3))
$result['discover_prestashop'] .= '';
$content = @file_get_contents($protocol.'://api.prestashop.com/partner/paypal/paypal-tips.php?protocol='.$protocol.'&iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id, false, $stream_context);
diff --git a/controllers/admin/AdminHomeController.php b/controllers/admin/AdminHomeController.php
index ca36f285a..edbf3d8aa 100644
--- a/controllers/admin/AdminHomeController.php
+++ b/controllers/admin/AdminHomeController.php
@@ -416,7 +416,7 @@ class AdminHomeControllerCore extends AdminController
$stream_context = @stream_context_create(array('http' => array('method'=> 'GET', 'timeout' => 2)));
// SCREENCAST
- if (@fsockopen('www.prestashop.com', 80, $errno, $errst, AdminHomeController::TIPS_TIMEOUT))
+ if (@fsockopen('screencasts.prestashop.com', 80, $errno, $errst, AdminHomeController::TIPS_TIMEOUT))
$result['screencast'] = 'OK';
else
$result['screencast'] = 'NOK';
@@ -425,7 +425,7 @@ class AdminHomeControllerCore extends AdminController
$result['partner_preactivation'] = $this->getBlockPartners();
// PREACTIVATION PAYPAL WARNING
- $content = @file_get_contents('https://www.prestashop.com/partner/preactivation/preactivation-warnings.php?version=1.0&partner=paypal&iso_country='.Tools::strtolower(Context::getContext()->country->iso_code).'&iso_lang='.Tools::strtolower(Context::getContext()->language->iso_code).'&id_lang='.(int)Context::getContext().'&email='.urlencode(Configuration::get('PS_SHOP_EMAIL')).'&security='.md5(Configuration::get('PS_SHOP_EMAIL')._COOKIE_IV_), false, $stream_context);
+ $content = @file_get_contents('https://api.prestashop.com/partner/preactivation/preactivation-warnings.php?version=1.0&partner=paypal&iso_country='.Tools::strtolower(Context::getContext()->country->iso_code).'&iso_lang='.Tools::strtolower(Context::getContext()->language->iso_code).'&id_lang='.(int)Context::getContext().'&email='.urlencode(Configuration::get('PS_SHOP_EMAIL')).'&security='.md5(Configuration::get('PS_SHOP_EMAIL')._COOKIE_IV_), false, $stream_context);
$content = explode('|', $content);
if ($content[0] == 'OK' && Validate::isCleanHtml($content[1]))
Configuration::updateValue('PS_PREACTIVATION_PAYPAL_WARNING', $content[1]);
@@ -436,7 +436,7 @@ class AdminHomeControllerCore extends AdminController
$result['discover_prestashop'] = $this->getBlockDiscover();
- if (@fsockopen('www.prestashop.com', 80, $errno, $errst, AdminHomeController::TIPS_TIMEOUT))
+ if (@fsockopen('api.prestashop.com', 80, $errno, $errst, AdminHomeController::TIPS_TIMEOUT))
$result['discover_prestashop'] .= '';
else
$result['discover_prestashop'] .= '';
diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php
index 8714e5587..50e418db0 100644
--- a/controllers/admin/AdminModulesController.php
+++ b/controllers/admin/AdminModulesController.php
@@ -45,7 +45,7 @@ class AdminModulesControllerCore extends AdminController
private $list_partners_modules = array();
private $list_natives_modules = array();
private $cache_file_modules_list = '/config/modules_list.xml';
- private $xml_modules_list = 'http://www.prestashop.com/xml/modules_list.xml';
+ private $xml_modules_list = 'http://api.prestashop.com/xml/modules_list.xml';
private $nb_modules_total = 0;
private $nb_modules_installed = 0;
diff --git a/modules/cashticket/PrepaidServices.php b/modules/cashticket/PrepaidServices.php
index 389855808..e409cdd29 100644
--- a/modules/cashticket/PrepaidServices.php
+++ b/modules/cashticket/PrepaidServices.php
@@ -540,7 +540,7 @@ abstract class PrepaidServices extends PaymentModule
}
if (!empty($params))
- $dataSync = '
';
+ $dataSync = '
';
return $this->displayConfirmation($this->getL('settings_updated').$dataSync);
}
diff --git a/modules/cashticket/cashticket.php b/modules/cashticket/cashticket.php
index 475c84708..0af6c588a 100644
--- a/modules/cashticket/cashticket.php
+++ b/modules/cashticket/cashticket.php
@@ -49,9 +49,9 @@ class CashTicket extends PrepaidServices
protected $certificat_dir;
- protected $register_url = array('en' => 'http://www.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/uk',
- 'fr' => 'http://www.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/fr',
- 'es' => 'http://www.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/es');
+ protected $register_url = array('en' => 'http://api.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/uk',
+ 'fr' => 'http://api.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/fr',
+ 'es' => 'http://api.prestashop.com/partner/url.php?to=http://www.cash-ticket.com/es');
public function __construct()
{
diff --git a/modules/criteo/criteo.php b/modules/criteo/criteo.php
index 441da44f5..173271a54 100755
--- a/modules/criteo/criteo.php
+++ b/modules/criteo/criteo.php
@@ -84,7 +84,7 @@ class Criteo extends Module
{
return '