Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-17 23:58:33 +0400
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-17 23:58:33 +0400
commitc2adf033f2dcfdfdeef1fd308229f3b858a21604 (patch)
tree6f429917982fce81b30e06c04af8035847180394 /lib/private/helper.php
parent84cd6e035e5e01c5a3182bd73677371d08810b20 (diff)
use file icon as fallback instead of application icon, fix #7237
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 58cb1b88d66..e5d1fa9b513 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -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',