From 2eb00ab3de8eda0119e5e6721eab83cada46e440 Mon Sep 17 00:00:00 2001 From: Dmitry Efremov <dmitriy.yefremov@gmail.com> Date: Wed, 24 Aug 2022 21:20:39 -0700 Subject: [PATCH] Adds json mime type as text type to allow edit json files (#841) --- tinyfilemanager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 55688ba..6ac3a51 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -2932,6 +2932,7 @@ function fm_get_text_mimes() 'application/x-javascript', 'image/svg+xml', 'message/rfc822', + 'application/json', ); }