mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 07:35:13 -04:00
use file icon as fallback instead of application icon, fix #7237
This commit is contained in:
parent
84cd6e035e
commit
c2adf033f2
1 changed files with 1 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue