// replaced api by www in Language class and AdminTranslationsController
// better error message when suhosin or max_input_vars exceeded in Translations forms // cleanning/comments code in email translations functions
This commit is contained in:
@@ -498,7 +498,7 @@ class AdminLanguagesControllerCore extends AdminController
|
||||
$this->status = 'error';
|
||||
$this->errors[] = '[TECHNICAL ERROR] ps_version not set or empty';
|
||||
}
|
||||
if (@fsockopen('api.prestashop.com', 80))
|
||||
if (@fsockopen('www.prestashop.com', 80))
|
||||
{
|
||||
// Get all iso code available
|
||||
$lang_packs = Tools::file_get_contents('http://www.prestashop.com/download/lang_packs/get_language_pack.php?version='.(string)$_GET['ps_version'].'&iso_lang='.(string)$_GET['iso_lang']);
|
||||
|
||||
Reference in New Issue
Block a user