Project

General

Profile

« Previous | Next » 

Revision 1361

Added by Dietmar almost 14 years ago

sync languages files with 2.9.0.dev
unzip addons now overwrite newer files

View differences:

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