Created
October 30, 2013 16:59
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hi! | |
<cfinclude template="test2.html"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset mike = "awesome"> | |
<cfoutput> | |
#mike# | |
</cfoutput> |
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
any file extension being called by cfinclude will be processed as a cfml file