From: Vincent Petry Date: Wed, 18 Dec 2013 21:39:02 +0000 (+0100) Subject: Added missing mime types X-Git-Tag: v7.0.0alpha2~1008^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b109d411d8e88a84a1b2620b42e977c52c7492ff;p=nextcloud-server.git Added missing mime types This is mostly to fix acceptance tests that have a .cc file. Also fixed typo in python mime type. --- 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', );