Don't allow opening of files we know cannot be edited; closes #2286
This commit is contained in:
parent
906cfce81c
commit
d87438621f
6 changed files with 65 additions and 65 deletions
|
@ -178,20 +178,6 @@ return [
|
|||
*/
|
||||
'files' => [
|
||||
'max_edit_size' => env('PTERODACTYL_FILES_MAX_EDIT_SIZE', 1024 * 1024 * 4),
|
||||
'editable' => [
|
||||
'application/json',
|
||||
'application/javascript',
|
||||
'application/xml',
|
||||
'application/xhtml+xml',
|
||||
'inode/x-empty',
|
||||
'text/xml',
|
||||
'text/css',
|
||||
'text/html',
|
||||
'text/plain',
|
||||
'text/x-perl',
|
||||
'text/x-shellscript',
|
||||
'text/x-python',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue