Revision 101
Added by stefan about 20 years ago
| install.php | ||
|---|---|---|
| 96 | 96 |
make_dir($module_dir); |
| 97 | 97 |
|
| 98 | 98 |
// Unzip module to the module dir |
| 99 |
$list = $archive->extract(PCLZIP_OPT_PATH, $module_dir, PCLZIP_OPT_REMOVE_ALL_PATH);
|
|
| 99 |
$list = $archive->extract(PCLZIP_OPT_PATH, $module_dir); |
|
| 100 | 100 |
if(!$list) {
|
| 101 | 101 |
$admin->print_error($MESSAGE['GENERIC']['CANNOT_UNZIP']); |
| 102 | 102 |
} |
Also available in: Unified diff
Removed another occurrence of OPT_REMOVE_ALL_PATH (pclzip).