summaryrefslogtreecommitdiff
path: root/src/lib/Mime.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Mime.class.php')
-rw-r--r--src/lib/Mime.class.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Mime.class.php b/src/lib/Mime.class.php
index 40562b4..f37c1eb 100644
--- a/src/lib/Mime.class.php
+++ b/src/lib/Mime.class.php
@@ -2,13 +2,14 @@
class Mime {
public static $mimes = array(
- 'csv' => array('text/x-comma-separated-values',
+ 'csv' => array(
+ 'text/csv', 'text/x-csv',
+ 'text/x-comma-separated-values',
'text/comma-separated-values',
- 'application/octet-stream',
- 'application/vnd.ms-excel',
- 'text/x-csv', 'text/csv', 'application/csv',
+ 'application/csv',
'application/excel', 'application/vnd.msexcel'),
'xhtml' => array('text/html', 'application/xhtml+xml'),
+ 'html' => array('text/html', 'application/xhtml+xml'),
'bmp' => 'image/bmp',
'gif' => 'image/gif',
'jpeg' => array('image/jpeg', 'image/pjpeg'),
@@ -18,7 +19,6 @@ class Mime {
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
'css' => 'text/css',
- 'html' => 'text/html',
'htm' => 'text/html',
'txt' => 'text/plain',
'json' => array('application/json', 'text/json')