alecpl
2008-09-15 bce0348e896c3c0f9e8ae086944799e8144325fa
program/include/rcube_shared.inc
@@ -504,7 +504,7 @@
 * @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');