From 975fc1d6d3fba598ee550849ceb81af23ce72e08 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Mon, 14 Mar 2022 17:29:28 +0200 Subject: [PATCH] Update Files.php --- src/MicroweberPackages/Utils/System/Files.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MicroweberPackages/Utils/System/Files.php b/src/MicroweberPackages/Utils/System/Files.php index b9542762a82..c3567cb2aa0 100644 --- a/src/MicroweberPackages/Utils/System/Files.php +++ b/src/MicroweberPackages/Utils/System/Files.php @@ -1154,11 +1154,11 @@ function get_allowed_files_extensions_for_upload($fileTypes = 'images', $returnA break; case 'file': case 'files': - $are_allowed .= ',doc,docx,pdf,json,rtf,txt,zip,gzip,rar,cad,xml,psd,xlsx,csv,7z'; + $are_allowed .= ',doc,docx,pdf,json,rtf,txt,zip,gzip,rar,cad,psd,xlsx,csv,7z'; break; case 'documents': case 'doc': - $are_allowed .= ',doc,docx,pdf,log,msg,odt,pages,rtf,tex,txt,wpd,wps,pps,ppt,pptx,xml,xlr,xls,xlsx'; + $are_allowed .= ',doc,docx,pdf,log,msg,odt,pages,rtf,tex,txt,wpd,wps,pps,ppt,pptx,xlr,xls,xlsx'; break; case 'archives': case 'arc':