summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-06-05 16:57:01 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-06-05 16:57:01 +0200
commit5d93353a023c90527c44653328638f6c64a73dbd (patch)
treed535ed222dd1f4f456f5b3070781ac8a0fea9156
parent9899e10a0411d161db1b4e1302690ac74c1ae72c (diff)
downloadnextcloud-server-5d93353a023c90527c44653328638f6c64a73dbd.tar.gz
nextcloud-server-5d93353a023c90527c44653328638f6c64a73dbd.zip
Adding mimetype x-h for header files - fixes https://github.com/owncloud/files_texteditor/issues/70
-rw-r--r--lib/private/mimetypes.list.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php
index 427a152f05f..5a6b416c3e3 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),