summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-12-18 22:39:02 +0100
committerVincent Petry <pvince81@owncloud.com>2013-12-18 22:40:58 +0100
commitb109d411d8e88a84a1b2620b42e977c52c7492ff (patch)
tree2d70657615b21c724cfd68a9ffbd64a87de09e1e /lib
parent277ae281718febddd82846ebbdf7ec3c6380bc07 (diff)
downloadnextcloud-server-b109d411d8e88a84a1b2620b42e977c52c7492ff.tar.gz
nextcloud-server-b109d411d8e88a84a1b2620b42e977c52c7492ff.zip
Added missing mime types
This is mostly to fix acceptance tests that have a .cc file. Also fixed typo in python mime type.
Diffstat (limited to 'lib')
-rw-r--r--lib/private/mimetypes.list.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php
index 8ab8ac81bd8..3034c2777f7 100644
--- a/lib/private/mimetypes.list.php
+++ b/lib/private/mimetypes.list.php
@@ -82,7 +82,7 @@ return array(
'mov'=>'video/quicktime',
'webm'=>'video/webm',
'wmv'=>'video/x-ms-asf',
- 'py'=>'text/x-script.phyton',
+ 'py'=>'text/x-script.python',
'vcf' => 'text/vcard',
'vcard' => 'text/vcard',
'doc'=>'application/msword',
@@ -103,5 +103,9 @@ return array(
'markdown' => 'text/markdown',
'mdown' => 'text/markdown',
'mdwn' => 'text/markdown',
- 'reveal' => 'text/reveal'
+ 'reveal' => 'text/reveal',
+ 'c' => 'text/x-c',
+ 'cc' => 'text/x-c',
+ 'cpp' => 'text/x-c++src',
+ 'c++' => 'text/x-c++src',
);