]> source.dussan.org Git - nextcloud-server.git/commitdiff
use file icon as fallback instead of application icon, fix #7237
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Feb 2014 19:58:33 +0000 (20:58 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 17 Feb 2014 19:58:33 +0000 (20:58 +0100)
lib/private/helper.php

index 58cb1b88d6690fee4f1c35912a655cd04934fa66..e5d1fa9b513f39406a7b29eaf0a8f541ad17d57c 100644 (file)
@@ -151,6 +151,7 @@ class OC_Helper {
         */
        public static function mimetypeIcon($mimetype) {
                $alias = array(
+                       'application/octet-stream' => 'file', // use file icon as fallback
                        'application/xml' => 'code/xml',
                        'application/msword' => 'x-office/document',
                        'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => 'x-office/document',