From bd67a69c13baf2d946aaef257208d1691ee4e0d7 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Fri, 24 Aug 2012 15:31:40 +0000 Subject: [PATCH] // Fix link git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16997 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/LocalizationPack.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/LocalizationPack.php b/classes/LocalizationPack.php index da39417f3..1650cb0a7 100644 --- a/classes/LocalizationPack.php +++ b/classes/LocalizationPack.php @@ -306,9 +306,9 @@ class LocalizationPackCore $errstr = ''; if (@fsockopen('api.prestashop.com', 80, $errno, $errstr, 10)) { - if ($lang_pack = Tools::jsonDecode(Tools::file_get_contents('http://api.prestashop.com/download/lang_packs/get_language_pack.php?version='._PS_VERSION_.'&iso_lang='.$attributes['iso_code']))) + if ($lang_pack = Tools::jsonDecode(Tools::file_get_contents('http://www.prestashop.com/download/lang_packs/get_language_pack.php?version='._PS_VERSION_.'&iso_lang='.$attributes['iso_code']))) { - if ($content = Tools::file_get_contents('http://api.prestashop.com/download/lang_packs/gzip/'.$lang_pack->version.'/'.$attributes['iso_code'].'.gzip')) + if ($content = Tools::file_get_contents('http://translations.prestashop.com/download/lang_packs/gzip/'.$lang_pack->version.'/'.$attributes['iso_code'].'.gzip')) { $file = _PS_TRANSLATIONS_DIR_.$attributes['iso_code'].'.gzip'; if (file_put_contents($file, $content))