Skip to content

Instantly share code, notes, and snippets.

@mhenke
Created October 30, 2013 16:59
Show Gist options
  • Save mhenke/7236172 to your computer and use it in GitHub Desktop.
Save mhenke/7236172 to your computer and use it in GitHub Desktop.
testing if any file extension passed via cfinclude gets processed by cfml engine
hi!
<cfinclude template="test2.html">
<cfset mike = "awesome">
<cfoutput>
#mike#
</cfoutput>
@mhenke
Copy link
Author

mhenke commented Oct 30, 2013

any file extension being called by cfinclude will be processed as a cfml file

@mhenke
Copy link
Author

mhenke commented Oct 30, 2013

calling test.cfm will output "hi! awesome"

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