diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 85079f9..9599539 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -2738,6 +2738,9 @@ function fm_get_file_icon_class($path) case 'conf': case 'log': case 'htaccess': + case 'yaml': + case 'yml': + case 'toml': $img = 'fa fa-file-text-o'; break; case 'css': @@ -2904,7 +2907,8 @@ function fm_get_text_exts() 'txt', 'css', 'ini', 'conf', 'log', 'htaccess', 'passwd', 'ftpquota', 'sql', 'js', 'json', 'sh', 'config', 'php', 'php4', 'php5', 'phps', 'phtml', 'htm', 'html', 'shtml', 'xhtml', 'xml', 'xsl', 'm3u', 'm3u8', 'pls', 'cue', 'eml', 'msg', 'csv', 'bat', 'twig', 'tpl', 'md', 'gitignore', 'less', 'sass', 'scss', 'c', 'cpp', 'cs', 'py', - 'map', 'lock', 'dtd', 'svg', 'scss', 'asp', 'aspx', 'asx', 'asmx', 'ashx', 'jsx', 'jsp', 'jspx', 'cfm', 'cgi' + 'map', 'lock', 'dtd', 'svg', 'scss', 'asp', 'aspx', 'asx', 'asmx', 'ashx', 'jsx', 'jsp', 'jspx', 'cfm', 'cgi', + 'yml', 'yaml', 'toml' ); }