Revision 1361
Added by Luisehahne almost 15 years ago
| install.php | ||
|---|---|---|
| 121 | 121 |
} |
| 122 | 122 |
|
| 123 | 123 |
// Unzip template to the template dir |
| 124 |
$list = $archive->extract(PCLZIP_OPT_PATH, $template_dir); |
|
| 124 |
$list = $archive->extract(PCLZIP_OPT_PATH, $template_dir, PCLZIP_OPT_REPLACE_NEWER);
|
|
| 125 | 125 |
if(!$list) {
|
| 126 | 126 |
$admin->print_error($MESSAGE['GENERIC']['CANNOT_UNZIP']); |
| 127 | 127 |
} |
Also available in: Unified diff
sync languages files with 2.9.0.dev
unzip addons now overwrite newer files