mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-05-08 13:31:24 +00:00
add extension for mimetypes text/html and text/plain
This commit is contained in:
parent
bc7204adf0
commit
c4a7bb6f15
|
|
@ -801,6 +801,8 @@ function get_extension($mimetype) { /* {{{ */
|
|||
case 'text/xml': return '.xml';
|
||||
case 'text/x-php': return '.php';
|
||||
case 'text/x-tex': return '.tex';
|
||||
case 'text/html': return '.html';
|
||||
case 'text/markdown': return '.md';
|
||||
case 'message/rfc822': return '.eml';
|
||||
default: return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user