summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉderson T. Szlachta <edersonszlachta@gmail.com>2016-08-30 00:04:34 +0200
committerGitHub <noreply@github.com>2016-08-30 00:04:34 +0200
commit19d033c5e32b0ab61041381c76b34f972513e525 (patch)
treedd22fc68d97eee523411b30f785420108dcb175a
parent0c584a1576e5e935309f0ace21048907576defa1 (diff)
OpenOffice mime-types
According to IANA media types : http://www.iana.org/assignments/media-types/media-types.xhtml
-rw-r--r--application/config/mimes.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/application/config/mimes.php b/application/config/mimes.php
index 8bac87251..017653335 100644
--- a/application/config/mimes.php
+++ b/application/config/mimes.php
@@ -163,5 +163,21 @@ return array(
'vcf' => 'text/x-vcard',
'srt' => array('text/srt', 'text/plain'),
'vtt' => array('text/vtt', 'text/plain'),
- 'ico' => array('image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon')
+ 'ico' => array('image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'),
+ 'odc' => 'application/vnd.oasis.opendocument.chart',
+ 'otc' => 'application/vnd.oasis.opendocument.chart-template',
+ 'odf' => 'application/vnd.oasis.opendocument.formula',
+ 'otf' => 'application/vnd.oasis.opendocument.formula-template',
+ 'odg' => 'application/vnd.oasis.opendocument.graphics',
+ 'otg' => 'application/vnd.oasis.opendocument.graphics-template',
+ 'odi' => 'application/vnd.oasis.opendocument.image',
+ 'oti' => 'application/vnd.oasis.opendocument.image-template',
+ 'odp' => 'application/vnd.oasis.opendocument.presentation',
+ 'otp' => 'application/vnd.oasis.opendocument.presentation-template',
+ 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
+ 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
+ 'odt' => 'application/vnd.oasis.opendocument.text',
+ 'odm' => 'application/vnd.oasis.opendocument.text-master',
+ 'ott' => 'application/vnd.oasis.opendocument.text-template',
+ 'oth' => 'application/vnd.oasis.opendocument.text-web'
);