Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Component/s: Resource
-
Labels:None
-
Environment:'Microsoft' environment
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
Office 2007 has introduced new file types for Word, PowerPoint and Excel i.e. docx, pptx, and xlsx.
See discussion in http://moodle.org/mod/forum/discuss.php?d=71960#p321981
get_mime_types_array() in /lib/filelib.php should be updated to include the following (or similar) lines:
'docx' => array ('type'=>'application/msword', 'icon'=>'word.gif'),
'pptx' => array ('type'=>'application/vnd.ms-powerpoint', 'icon'=>'powerpoint.gif'),
'xlsx' => array ('type'=>'application/vnd.ms-excel', 'icon'=>'excel.gif'),
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-15987 | If you upload an Office 2007 document to moodle 1.9.2, the file downloads as the <Office 2003 file type |
|
|
|
Oops! that should say: get_mimetypes_array() ...