GetPageContext.Include() DOES Parse Files And More (Thanks Charlie Arehart)

<!---
	Figure out if we are running the CFInclude version of
	this template. Check the base tag list to determine what
	text we should output.
--->
<cfif ListFind( GetBaseTagList(), "CFINCLUDE" )>
 
	<!--- Set mode text. --->
	<cfset strMode = "CFInclude" />
 
<cfelse>
 
	<!--- Set mode text. --->
	<cfset strMode = "Include()" />
 
</cfif>
 
 
<!--- Try to write this request to file. --->
<cffile
	action="APPEND"
	file="#ExpandPath( './trace.txt' )#"
	output="...Included via #strMode# during request #APPLICATION.RequestCount#"
	addnewline="true"
	fixnewline="true"
	/>

For Cut-and-Paste