summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/application/config/mimes.php6
-rw-r--r--user_guide/changelog.html1
2 files changed, 4 insertions, 3 deletions
diff --git a/system/application/config/mimes.php b/system/application/config/mimes.php
index 438f610ce..f31fff2ec 100644
--- a/system/application/config/mimes.php
+++ b/system/application/config/mimes.php
@@ -15,7 +15,7 @@ $mimes = array( 'hqx' => 'application/mac-binhex40',
'dms' => 'application/octet-stream',
'lha' => 'application/octet-stream',
'lzh' => 'application/octet-stream',
- 'exe' => 'application/octet-stream',
+ 'exe' => array('application/octet-stream', 'application/x-msdownload'),
'class' => 'application/octet-stream',
'psd' => 'application/x-photoshop',
'so' => 'application/octet-stream',
@@ -48,7 +48,7 @@ $mimes = array( 'hqx' => 'application/mac-binhex40',
'swf' => 'application/x-shockwave-flash',
'sit' => 'application/x-stuffit',
'tar' => 'application/x-tar',
- 'tgz' => 'application/x-tar',
+ 'tgz' => array('application/x-tar', 'application/x-gzip-compressed'),
'xhtml' => 'application/xhtml+xml',
'xht' => 'application/xhtml+xml',
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed'),
@@ -102,4 +102,4 @@ $mimes = array( 'hqx' => 'application/mac-binhex40',
/* End of file mimes.php */
-/* Location: ./system/application/config/mimes.php */ \ No newline at end of file
+/* Location: ./application/config/mimes.php */ \ No newline at end of file
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 3bee5d30a..f143d4a6c 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -95,6 +95,7 @@ SVN Revision: </p>
<li>Other Changes
<ul>
<li>Added "default" to the list <a href="general/reserved_names.html">Reserved Names</a>.</li>
+ <li>Added 'application/x-msdownload' for .exe files and ''application/x-gzip-compressed' for .tgz files to config/mimes.php.</li>
</ul>
</li>
</ul>