Skip to content

Instantly share code, notes, and snippets.

@orangexception
Created July 18, 2012 14:26
Show Gist options
  • Select an option

  • Save orangexception/3136496 to your computer and use it in GitHub Desktop.

Select an option

Save orangexception/3136496 to your computer and use it in GitHub Desktop.
Reset Custom Tag Paths to ExpandPath( "/WEB-INF/cfusion/CustomTags" )
// Reset Custom Tag Paths to ExpandPath( "/WEB-INF/cfusion/CustomTags" )
var oCFIDEExtensions= new CFIDE.adminapi.extensions();
var asCustomTagPaths= oCFIDEExtensions.getCustomTagPaths();
for( var sCustomTagPath in asCustomTagPaths ) {
oCFIDEExtensions.deleteCustomTagPath( sCustomTagPath );
}
oCFIDEExtensions.setCustomTagPath( ExpandPath( "/WEB-INF/cfusion/CustomTags" ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment