From bce0348e896c3c0f9e8ae086944799e8144325fa Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 15 Sep 2008 08:47:58 +0000 Subject: #1485266: changed rc_mime_content_type()'s failover to 'application/octet-stream' --- program/include/rcube_shared.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') 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'); -- cgit v1.2.3