зеркало из https://github.com/nextcloud/server.git
fix filetype icons for gzip, tex, perl, csv, sh
This commit is contained in:
Родитель
16cbfd0383
Коммит
a6fb6abbe0
|
@ -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',
|
||||
);
|
||||
|
|
|
@ -41,6 +41,7 @@ return array(
|
|||
'cdr' => 'application/coreldraw',
|
||||
'cpp' => 'text/x-c++src',
|
||||
'css' => 'text/css',
|
||||
'csv' => 'text/csv',
|
||||
'cvbdl' => 'application/x-cbr',
|
||||
'c' => 'text/x-c',
|
||||
'c++' => 'text/x-c++src',
|
||||
|
@ -94,7 +95,7 @@ return array(
|
|||
'pages' => 'application/x-iwork-pages-sffpages',
|
||||
'pdf' => 'application/pdf',
|
||||
'php' => 'application/x-php',
|
||||
'pl' => 'application/x-pearl',
|
||||
'pl' => 'application/x-perl',
|
||||
'png' => 'image/png',
|
||||
'ppt' => 'application/mspowerpoint',
|
||||
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||||
|
@ -109,6 +110,7 @@ return array(
|
|||
'swf' => 'application/x-shockwave-flash',
|
||||
'tar' => 'application/x-tar',
|
||||
'tar.gz' => 'application/x-compressed',
|
||||
'tex' => 'application/x-tex',
|
||||
'tgz' => 'application/x-compressed',
|
||||
'tiff' => 'image/tiff',
|
||||
'tif' => 'image/tiff',
|
||||
|
|
Загрузка…
Ссылка в новой задаче