summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2013-01-21 14:14:04 +0100
committerAndrey Andreev <narf@bofh.bg>2013-01-21 14:14:04 +0100
commit1106c528b213f9f58f4b2d9be60f78ca8067236e (patch)
treed347f9eca4e8880d15ef10dff9beacd0aadefce9 /application
parent7d2a3735170da12fb7f8455c6bab0c6ec2ec62ad (diff)
[ci skip] Add text/plain as a valid MIME for js,css,*html,xml
Diffstat (limited to 'application')
-rw-r--r--application/config/mimes.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/application/config/mimes.php b/application/config/mimes.php
index cced3ee02..124e4a436 100644
--- a/application/config/mimes.php
+++ b/application/config/mimes.php
@@ -73,7 +73,7 @@ return array(
'php3' => 'application/x-httpd-php',
'phtml' => 'application/x-httpd-php',
'phps' => 'application/x-httpd-php-source',
- 'js' => 'application/x-javascript',
+ 'js' => array('application/x-javascript', 'text/plain'),
'swf' => 'application/x-shockwave-flash',
'sit' => 'application/x-stuffit',
'tar' => 'application/x-tar',
@@ -104,16 +104,16 @@ return array(
'png' => array('image/png', 'image/x-png'),
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
- 'css' => 'text/css',
- 'html' => 'text/html',
- 'htm' => 'text/html',
- 'shtml' => 'text/html',
+ 'css' => array('text/css', 'text/plain'),
+ 'html' => array('text/html', 'text/plain'),
+ 'htm' => array('text/html', 'text/plain'),
+ 'shtml' => array('text/html', 'text/plain'),
'txt' => 'text/plain',
'text' => 'text/plain',
'log' => array('text/plain', 'text/x-log'),
'rtx' => 'text/richtext',
'rtf' => 'text/rtf',
- 'xml' => array('application/xml', 'text/xml'),
+ 'xml' => array('application/xml', 'text/xml', 'text/plain'),
'xsl' => array('application/xml', 'text/xsl', 'text/xml'),
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',