I have a CFINCLUDE tag in my application.cfc file's
onRequestStart method that includes a template of functions that I
commonly use.
Unfortunately, when included via the application.cfc, the
functions cannot be called. A simple "functionName()" between
CFOUTPUT tags throws a "variable functionName is undefined" error.
If I use a CFINCLUDE tag in the page directly, everything
works just fine. I would assume this is some sort of scoping issue,
but I'm not sure what scope the function is going to when called
via application.cfc. Either that or some other simple, obvious
issue that I'm missing. Can anyone point out what I'm forgetting?
Thanks!