Fix for deprecated zip_files() function. Packager requires

destination file full path. Non-existing bug in Tracker.
This commit is contained in:
stronk7 2008-10-16 17:50:13 +00:00
parent 0addb36648
commit 3ed22f1a25

View File

@ -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);
}
/////////////////////////////////////////////////////////////