// add ps_version parameter on call of prestashop_link.php file #PSCFV-17
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15232 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
73fcd280f5
commit
40a8bf5efe
1 file changed
+1
-1
@@ -616,7 +616,7 @@ class AdminHomeControllerCore extends AdminController
|
|||||||
$isoUser = Context::getContext()->language->iso_code;
|
$isoUser = Context::getContext()->language->iso_code;
|
||||||
$isoCountry = Context::getContext()->country->iso_code;
|
$isoCountry = Context::getContext()->country->iso_code;
|
||||||
|
|
||||||
$content = @file_get_contents($protocol.'://api.prestashop.com/partner/prestashop/prestashop-link.php?iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id, false, $stream_context);
|
$content = @file_get_contents($protocol.'://api.prestashop.com/partner/prestashop/prestashop-link.php?iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id.'&ps_version='.urlencode(_PS_VERSION_), false, $stream_context);
|
||||||
|
|
||||||
if (!$content)
|
if (!$content)
|
||||||
return ''; // NOK
|
return ''; // NOK
|
||||||
|
|||||||
Reference in new issue
Block a user