// remove is_writable from AdminTranslations
This commit is contained in:
1 parent
54103a1a8f
commit
63c8fc41dd
1 file changed
+1
-1
@@ -719,7 +719,7 @@ class AdminTranslationsControllerCore extends AdminController
|
||||
@stream_context_create(array('http' => array('method' => 'GET', 'timeout' => 5)))))
|
||||
{
|
||||
$file = _PS_TRANSLATIONS_DIR_.$arr_import_lang[0].'.gzip';
|
||||
if (is_writable(dirname($file)) && (bool)file_put_contents($file, $content))
|
||||
if ((bool)file_put_contents($file, $content))
|
||||
{
|
||||
$gz = new Archive_Tar($file, true);
|
||||
$files_list = $gz->listContent();
|
||||
|
||||
Reference in new issue
Block a user