From 4e8303fae6c142db9730b10f5463334534145919 Mon Sep 17 00:00:00 2001 From: vonas <24623262+vonas@users.noreply.github.com> Date: Tue, 7 Mar 2023 15:22:07 +0100 Subject: [PATCH] Consider empty files to be text files --- tinyfilemanager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 6a26d30..d50b610 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -2994,6 +2994,7 @@ function fm_get_text_mimes() 'image/svg+xml', 'message/rfc822', 'application/json', + 'application/x-empty', ); }