summaryrefslogtreecommitdiff
path: root/src/lib/Mime.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-04 20:40:45 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-04 20:40:45 -0400
commit103332a30f8976fcc224c8f55dc23aba7b99e578 (patch)
tree32337915884fb6217007d569636f418130757df3 /src/lib/Mime.class.php
parentbca1b20b4fc6dca04368f8c03b5e1faeec5af7d3 (diff)
New router and view selector engine magic coolness.
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')