From 81c98057a9b0a3ad26d204efd2639a4843d2b2da Mon Sep 17 00:00:00 2001
From: Derek Allard
Date: Sun, 17 Jan 2010 16:27:03 +0000
Subject: Added 'application/x-msdownload' for .exe files and
''application/x-gzip-compressed' for .tgz files to config/mimes.php
---
system/application/config/mimes.php | 6 +++---
user_guide/changelog.html | 1 +
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:
Other Changes
- Added "default" to the list Reserved Names.
+ - Added 'application/x-msdownload' for .exe files and ''application/x-gzip-compressed' for .tgz files to config/mimes.php.
--
cgit v1.2.3-24-g4f1b