1
0
mirror of https://github.com/prasathmani/tinyfilemanager.git synced 2025-05-03 22:07:47 +02:00

Add powershell file extension to text format for opening in editor. ()

This commit is contained in:
Randy Garrison 2024-09-09 15:09:29 -07:00 committed by GitHub
parent b602dcd172
commit 0f58c2ca65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2854,6 +2854,7 @@ function fm_get_file_icon_class($path)
case 'map':
case 'lock':
case 'dtd':
case 'ps1':
$img = 'fa fa-file-code-o';
break;
case 'txt':
@ -3046,7 +3047,7 @@ function fm_get_text_exts()
'eml', 'msg', 'csv', 'bat', 'twig', 'tpl', 'md', 'gitignore', 'less', 'sass', 'scss', 'c', 'cpp', 'cs', 'py', 'go', 'zsh', 'swift',
'map', 'lock', 'dtd', 'svg', 'asp', 'aspx', 'asx', 'asmx', 'ashx', 'jsp', 'jspx', 'cgi', 'dockerfile', 'ruby', 'yml', 'yaml', 'toml',
'vhost', 'scpt', 'applescript', 'csx', 'cshtml', 'c++', 'coffee', 'cfm', 'rb', 'graphql', 'mustache', 'jinja', 'http', 'handlebars',
'java', 'es', 'es6', 'markdown', 'wiki', 'tmp', 'top', 'bot', 'dat', 'bak', 'htpasswd', 'pl'
'java', 'es', 'es6', 'markdown', 'wiki', 'tmp', 'top', 'bot', 'dat', 'bak', 'htpasswd', 'pl', 'ps1'
);
}