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. (#1228)
This commit is contained in:
parent
b602dcd172
commit
0f58c2ca65
@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user