[-] BO : #PSTEST-609
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12842 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
5625f92454
commit
a8491d1cc0
1 file changed
+1
-1
@@ -259,7 +259,7 @@ class AdminTranslationsControllerCore extends AdminController
|
|||||||
$items = array_flip(Language::getFilesList($lang, $theme, false, false, false, false, true));
|
$items = array_flip(Language::getFilesList($lang, $theme, false, false, false, false, true));
|
||||||
$gz = new Archive_Tar(_PS_TRANSLATIONS_DIR_.'/export/'.$lang.'.gzip', true);
|
$gz = new Archive_Tar(_PS_TRANSLATIONS_DIR_.'/export/'.$lang.'.gzip', true);
|
||||||
if ($gz->createModify($items, null, _PS_ROOT_DIR_));
|
if ($gz->createModify($items, null, _PS_ROOT_DIR_));
|
||||||
Tools::redirect('translations/export/'.$lang.'.gzip');
|
Tools::redirectLink(Tools::getCurrentUrlProtocolPrefix().Tools::getShopDomain().__PS_BASE_URI__.'translations/export/'.$lang.'.gzip');
|
||||||
$this->errors[] = Tools::displayError('An error occurred while creating archive.');
|
$this->errors[] = Tools::displayError('An error occurred while creating archive.');
|
||||||
}
|
}
|
||||||
$this->errors[] = Tools::displayError('Please choose a language and theme.');
|
$this->errors[] = Tools::displayError('Please choose a language and theme.');
|
||||||
|
|||||||
Reference in new issue
Block a user