mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
add text/markdown in fileExtension()
This commit is contained in:
parent
62c2606d09
commit
f9328a5b7c
|
@ -172,7 +172,7 @@ class SeedDMS_Core_File {
|
|||
|
||||
/**
|
||||
* @param $string mimetype
|
||||
* @return string
|
||||
* @return string file extension with the dot or an empty string
|
||||
*/
|
||||
static function fileExtension($mimetype) { /* {{{ */
|
||||
switch($mimetype) {
|
||||
|
@ -267,6 +267,7 @@ class SeedDMS_Core_File {
|
|||
'text/x-log' => 'log',
|
||||
'audio/x-m4a' => 'm4a',
|
||||
'application/vnd.mpegurl' => 'm4u',
|
||||
'text/markdown' => 'md',
|
||||
'audio/midi' => 'mid',
|
||||
'application/vnd.mif' => 'mif',
|
||||
'video/quicktime' => 'mov',
|
||||
|
|
Loading…
Reference in New Issue
Block a user