mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-17 21:16:38 +02:00
Treat empty files with random extensions as editable
add application/x-empty to the fm_get_text_mimes function
This commit is contained in:
parent
4ff141bb15
commit
1b2a0812ec
|
@ -2937,6 +2937,7 @@ function fm_get_text_mimes()
|
|||
'application/xml',
|
||||
'application/javascript',
|
||||
'application/x-javascript',
|
||||
'application/x-empty',
|
||||
'image/svg+xml',
|
||||
'message/rfc822',
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue