From 103332a30f8976fcc224c8f55dc23aba7b99e578 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 4 Sep 2011 20:40:45 -0400 Subject: New router and view selector engine magic coolness. --- src/lib/Mime.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/Mime.class.php') 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') -- cgit v1.2.3-2-g168b