add pptx to getMimeType()

This commit is contained in:
Uwe Steinmann 2015-11-30 19:48:40 +01:00
parent 1f77a749be
commit 10cbf3b3b3

View File

@ -540,6 +540,7 @@ function get_extension($mimetype) { /* {{{ */
case 'application/pdf': return '.pdf';
case 'application/postscript': return '.ps';
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': return '.docx';
case 'application/vnd.openxmlformats-officedocument.presentationml.presentation': return '.pptx';
case 'text/plain': return '.txt';
case 'text/csv': return '.csv';
default: return false;