Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Files.php
  • Loading branch information
bobimicroweber committed Mar 14, 2022
1 parent 27622f0 commit 975fc1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MicroweberPackages/Utils/System/Files.php
Expand Up @@ -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':
Expand Down

0 comments on commit 975fc1d

Please sign in to comment.