mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
course-import MDL-24176 Added mimetype mapping for moodle backup files to get_file_packer
This commit is contained in:
parent
74535bb575
commit
3991bd7d69
1 changed files with 1 additions and 0 deletions
|
@ -5179,6 +5179,7 @@ function get_file_packer($mimetype='application/zip') {
|
|||
|
||||
switch ($mimetype) {
|
||||
case 'application/zip':
|
||||
case 'application/vnd.moodle.backup':
|
||||
$classname = 'zip_packer';
|
||||
break;
|
||||
case 'application/x-tar':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue