aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-09-12 07:48:00 -0700
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-09-12 07:48:00 -0700
commitc7ca86799b2608609ead7ecd2d84d0bbd47c6548 (patch)
tree2c6ad385dba6a944bf396dbb69e32d4fb7074c7e /lib
parentb7205d97d7797daf057d47a5a07d2bad3b0db4da (diff)
parent9d661eab23f9ba284e4a5060b5de5d868b330d45 (diff)
downloadnextcloud-server-c7ca86799b2608609ead7ecd2d84d0bbd47c6548.tar.gz
nextcloud-server-c7ca86799b2608609ead7ecd2d84d0bbd47c6548.zip
Merge pull request #4816 from owncloud/fixing-723-master
Fixing 723 master
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 5fb8fed3459..1f1ce8451c0 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -232,6 +232,14 @@ class OC_Helper {
self::$mimetypeIcons[$mimetype] = OC::$WEBROOT . '/core/img/filetypes/folder.png';
return OC::$WEBROOT . '/core/img/filetypes/folder.png';
}
+ if ($mimetype === 'dir-shared') {
+ self::$mimetypeIcons[$mimetype] = OC::$WEBROOT . '/core/img/filetypes/folder-shared.png';
+ return OC::$WEBROOT . '/core/img/filetypes/folder-shared.png';
+ }
+ if ($mimetype === 'dir-external') {
+ self::$mimetypeIcons[$mimetype] = OC::$WEBROOT . '/core/img/filetypes/folder-external.png';
+ return OC::$WEBROOT . '/core/img/filetypes/folder-external.png';
+ }
// Icon exists?
if (file_exists(OC::$SERVERROOT . '/core/img/filetypes/' . $icon . '.png')) {