mirror of
https://github.com/moodle/moodle.git
synced 2025-08-02 23:59:41 +02:00
Fix for deprecated zip_files() function. Packager requires
destination file full path. Non-existing bug in Tracker.
This commit is contained in:
parent
0addb36648
commit
3ed22f1a25
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ function zip_files ($originalfiles, $destination) {
|
||||||
|
|
||||||
$packer = get_file_packer('application/zip');
|
$packer = get_file_packer('application/zip');
|
||||||
|
|
||||||
return $packer->archive_to_pathname($zipfiles, $destfilename);
|
return $packer->archive_to_pathname($zipfiles, $destpath . '/' . $destfilename);
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue