Skip to content

Commit

Permalink
Expanded the list of files recognized as compressed (#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerun authored May 27, 2024
1 parent d8fceac commit 8366e1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tinyfilemanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2877,12 +2877,18 @@ function fm_get_file_icon_class($path)
$img = 'fa fa-css3';
break;
case 'bz2':
case 'tbz2';
case 'tbz';
case 'zip':
case 'rar':
case 'gz':
case 'tgz';
case 'tar':
case '7z':
case 'xz':
case 'txz';
case 'zst';
case 'tzst';
$img = 'fa fa-file-archive-o';
break;
case 'php':
Expand Down

0 comments on commit 8366e1b

Please sign in to comment.