Apparently my brain doesn't work this morning. Sim...
# cfml-general
d
Apparently my brain doesn't work this morning. Simple page that just does this works (CF 2021):
Copy code
<cfinclude template="somePage.cfm">
This doesn't, throws a 500 error:
Copy code
<cfscript>
	include template="somePage.cfm";
</cfscript>
What's wrong here?
r
include "somepage.cfm";
d
Doh!
s
yeah, mostly it's obvious cftags to cfscript, sometimes just not :-)