aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-20 10:34:40 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-20 10:45:11 +0100
commita6fb6abbe015b6c2fa643da94884fc1ec2fdb336 (patch)
tree2acb8a9dacb93e4a1bb307e76aab55fede79197e /lib/private/helper.php
parent16cbfd03834b844019f79d1e5cbdd2756b21aacf (diff)
downloadnextcloud-server-a6fb6abbe015b6c2fa643da94884fc1ec2fdb336.tar.gz
nextcloud-server-a6fb6abbe015b6c2fa643da94884fc1ec2fdb336.zip
fix filetype icons for gzip, tex, perl, csv, sh
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 9b5bf0652ae..1aab2f296e1 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -163,13 +163,17 @@ class OC_Helper {
'application/vnd.ms-fontobject' => 'font',
'application/json' => 'text/code',
+ 'application/x-perl' => 'text/code',
'application/x-php' => 'text/code',
+ 'text/x-shellscript' => 'text/code',
'application/xml' => 'text/html',
'text/css' => 'text/code',
+ 'application/x-tex' => 'text',
'application/x-compressed' => 'package/x-generic',
'application/x-7z-compressed' => 'package/x-generic',
'application/x-deb' => 'package/x-generic',
+ 'application/x-gzip' => 'package/x-generic',
'application/x-rar-compressed' => 'package/x-generic',
'application/x-tar' => 'package/x-generic',
'application/zip' => 'package/x-generic',
@@ -206,6 +210,7 @@ class OC_Helper {
'application/vnd.ms-excel.sheet.binary.macroEnabled.12' => 'x-office/spreadsheet',
'application/vnd.oasis.opendocument.spreadsheet' => 'x-office/spreadsheet',
'application/vnd.oasis.opendocument.spreadsheet-template' => 'x-office/spreadsheet',
+ 'text/csv' => 'x-office/spreadsheet',
'application/msaccess' => 'database',
);