Fix for deprecated zip_files() function. Packager requires
destination file full path. Non-existing bug in Tracker.
This commit is contained in:
@@ -456,7 +456,7 @@ function zip_files ($originalfiles, $destination) {
|
||||
|
||||
$packer = get_file_packer('application/zip');
|
||||
|
||||
return $packer->archive_to_pathname($zipfiles, $destfilename);
|
||||
return $packer->archive_to_pathname($zipfiles, $destpath . '/' . $destfilename);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user