Skip to content

Instantly share code, notes, and snippets.

@eballisty
Created December 11, 2015 18:09
Show Gist options
  • Save eballisty/91103b9c31cd90dddfd5 to your computer and use it in GitHub Desktop.
Save eballisty/91103b9c31cd90dddfd5 to your computer and use it in GitHub Desktop.
Enable SVG upload in Mura
<!---
place file in:
#$.siteConfig('includePath')#/js/finder/config.cfm
or
#$.siteConfig('themeIncludePath')#/js/finder/config.cfm
--->
<cfset config.defaultAlledExtensions = '7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,ics,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,ppsx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip,m4v,less,svg'>
<cfset config.htmlExtensions = 'html,htm,xml,js,cfm,cfc,svg'>
@pupitmiser
Copy link

I've attempted this method on Mura 7 to no avail. Is there a directory/file change for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment