diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-05 16:57:01 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-05 16:57:01 +0200 |
commit | 5d93353a023c90527c44653328638f6c64a73dbd (patch) | |
tree | d535ed222dd1f4f456f5b3070781ac8a0fea9156 | |
parent | 9899e10a0411d161db1b4e1302690ac74c1ae72c (diff) | |
download | nextcloud-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.php | 2 |
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), |