diff options
author | alecpl <alec@alec.pl> | 2008-09-15 08:47:58 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-15 08:47:58 +0000 |
commit | bce0348e896c3c0f9e8ae086944799e8144325fa (patch) | |
tree | bf05ffcd2d60d6e900df8058dcb18731f305415d /program/include/rcube_shared.inc | |
parent | acb08f517d22a6acd9525ced7ea3fcc2e80d29f0 (diff) |
#1485266: changed rc_mime_content_type()'s failover to 'application/octet-stream'
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r-- | program/include/rcube_shared.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 5008251ad..4d35a4d9b 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -504,7 +504,7 @@ function get_offset_time($offset_str, $factor=1) * @see http://de2.php.net/manual/en/ref.fileinfo.php * @see http://de2.php.net/mime_content_type */ -function rc_mime_content_type($path, $failover = 'unknown/unknown') +function rc_mime_content_type($path, $failover = 'application/octet-stream') { $mime_type = null; $mime_magic = rcmail::get_instance()->config->get('mime_magic'); |