summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-05 20:08:34 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-05 20:08:34 +0200
commit3b188d0b72fb003adc83a8b5e24f49d6ebd6b332 (patch)
treeae3a0144746cb40eac5277b765081766c521db95 /lib
parentcbb15f3cbd8812ba1e3c2cfe6bf4285286266fd5 (diff)
parent5481a846c25258be14ee71d72040640c843b01c9 (diff)
downloadnextcloud-server-3b188d0b72fb003adc83a8b5e24f49d6ebd6b332.tar.gz
nextcloud-server-3b188d0b72fb003adc83a8b5e24f49d6ebd6b332.zip
Merge pull request #16768 from owncloud/add-missing-mime-types
Adding mimetype x-h for header files
Diffstat (limited to 'lib')
-rw-r--r--lib/private/mimetypes.list.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php
index 427a152f05f..1e568eb4d95 100644
--- a/lib/private/mimetypes.list.php
+++ b/lib/private/mimetypes.list.php
@@ -81,6 +81,8 @@ return array(
'gif' => array('image/gif', null),
'gz' => array('application/x-gzip', null),
'gzip' => array('application/x-gzip', null),
+ 'h' => array('text/x-h', null),
+ 'hh' => array('text/x-h', null),
'html' => array('text/html', 'text/plain'),
'htm' => array('text/html', 'text/plain'),
'ical' => array('text/calendar', null),
@@ -104,6 +106,7 @@ return array(
'md' => array('text/markdown', null),
'mdb' => array('application/msaccess', null),
'mdwn' => array('text/markdown', null),
+ 'mkd' => array('text/markdown', null),
'mef' => array('image/x-dcraw', null),
'mkv' => array('video/x-matroska', null),
'mobi' => array('application/x-mobipocket-ebook', null),