1
0
mirror of https://github.com/prasathmani/tinyfilemanager.git synced 2025-07-29 04:51:15 +02:00

Expanded the list of files recognized as compressed (#1193)

This commit is contained in:
Daniel Dias Rodrigues
2024-05-27 00:59:54 -03:00
committed by GitHub
parent d8fceac7dd
commit 8366e1bc29

View File

@@ -2877,12 +2877,18 @@ function fm_get_file_icon_class($path)
$img = 'fa fa-css3'; $img = 'fa fa-css3';
break; break;
case 'bz2': case 'bz2':
case 'tbz2';
case 'tbz';
case 'zip': case 'zip':
case 'rar': case 'rar':
case 'gz': case 'gz':
case 'tgz';
case 'tar': case 'tar':
case '7z': case '7z':
case 'xz': case 'xz':
case 'txz';
case 'zst';
case 'tzst';
$img = 'fa fa-file-archive-o'; $img = 'fa fa-file-archive-o';
break; break;
case 'php': case 'php':