summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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',
);