From de048e58d5d82f4624e8e8bd4b0f956637ce45f4 Mon Sep 17 00:00:00 2001 From: Olle Haerstedt Date: Fri, 2 Mar 2018 12:01:39 +0100 Subject: [PATCH] Dev: Add twig as allowed upload extension --- application/config/config-defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/config/config-defaults.php b/application/config/config-defaults.php index 6714472d922..6920a3bbd23 100644 --- a/application/config/config-defaults.php +++ b/application/config/config-defaults.php @@ -84,7 +84,7 @@ $config['defaulttheme'] = 'fruity'; // This setting specifys the default theme used for the 'public list' of surveys $config['customassetversionnumber'] = 1; // Used to generate the path of tmp assets (see: LSYii_AssetManager::generatePath() ) -$config['allowedthemeuploads'] = 'gif,ico,jpg,png,css,js,map,json,eot,svg,ttf,woff,txt,md,xml,woff2'; // File types allowed to be uploaded in the themes section. +$config['allowedthemeuploads'] = 'gif,ico,jpg,png,css,js,map,json,eot,svg,ttf,woff,txt,md,xml,woff2,twig'; // File types allowed to be uploaded in the themes section. $config['allowedresourcesuploads'] = '7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,ico,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,xml,zip,css,js'; // File types allowed to be uploaded in the resources sections, and with the HTML Editor