diff options
author | Derek Allard <derek.allard@ellislab.com> | 2010-01-17 17:27:03 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2010-01-17 17:27:03 +0100 |
commit | 81c98057a9b0a3ad26d204efd2639a4843d2b2da (patch) | |
tree | ebf14eeded757d8f013ebc6f9d94a061ef32aca4 /system | |
parent | fcbb0266468db83d2d8d4006d80f77445fd6a0e2 (diff) |
Added 'application/x-msdownload' for .exe files and ''application/x-gzip-compressed' for .tgz files to config/mimes.php
Diffstat (limited to 'system')
-rw-r--r-- | system/application/config/mimes.php | 6 |
1 files changed, 3 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 |