update pear and archive tar

This commit is contained in:
shreesh arora
2021-05-04 16:57:33 +05:30
parent 90656d8d58
commit 4d18b4f54f
12 changed files with 3509 additions and 1676 deletions

View File

@@ -403,7 +403,7 @@ class AdminModulesControllerCore extends AdminController
}
}
} else {
require_once(_PS_TOOL_DIR_.'tar/Archive_Tar.php');
require_once _PS_TOOL_DIR_.'tar/Tar.php';
$archive = new Archive_Tar($file);
if ($archive->extract($tmp_folder)) {
$zip_folders = scandir($tmp_folder);