MDL-16012 improved mime handling in zip packer, this does not fix the linked bug though

This commit is contained in:
skodak
2008-08-12 15:52:58 +00:00
parent 7e1825b415
commit b27c485572
+1
View File
@@ -40,6 +40,7 @@ class zip_packer extends file_packer {
$file_record->filepath = $filepath;
$file_record->filename = $filename;
$file_record->userid = $userid;
$file_record->mimetype = 'application/zip';
$result = $fs->create_file_from_pathname($file_record, $tmpfile);
}