Merge branch 'MDL-61724-master' of git://github.com/mihailges/moodle
This commit is contained in:
@@ -49,7 +49,7 @@ if (!$file) {
|
||||
}
|
||||
|
||||
$zipper = get_file_packer('application/zip');
|
||||
$filename = clean_filename($folder->name . "-" . date("Ymd")) . ".zip";
|
||||
$filename = shorten_filename(clean_filename($folder->name . "-" . date("Ymd")) . ".zip");
|
||||
$temppath = make_request_directory() . $filename;
|
||||
|
||||
if ($zipper->archive_to_pathname(array('/' => $file), $temppath)) {
|
||||
|
||||
Reference in New Issue
Block a user