// Change URLs calling for prestashop.com

This commit is contained in:
rGaillard
2011-11-25 18:45:07 +00:00
parent 11a5e1560e
commit f82dbee84d
18 changed files with 42 additions and 42 deletions
+2 -2
View File
@@ -780,7 +780,7 @@ if ($lm->getIncludeTradFilename())
}
$stream_context = @stream_context_create(array('http' => array('method'=> 'GET', 'timeout' => 3)));
$content = @file_get_contents('http://www.prestashop.com/partner/preactivation/partners.php?version=1.0', false, $stream_context);
$content = @file_get_contents('http://api.prestashop.com/partner/preactivation/partners.php?version=1.0', false, $stream_context);
if ($content && $content[0] == '<')
{
$result = simplexml_load_string($content);
@@ -1316,7 +1316,7 @@ if ($lm->getIncludeTradFilename())
<?php
if (@fsockopen('www.prestashop.com', 80, $errno, $errst, 3))
if (@fsockopen('features.prestashop.com', 80, $errno, $errst, 3))
{
echo '
<h2>'.lang('New features in PrestaShop v').INSTALL_VERSION.'</h2>