So I've got this mapping in my Application.cfc and I know the mapping
works because in my onRequestStart function, I'm dumping an expanded
path using that mapping
<cffunction name="onRequestStart" output="true">
...
<cfdump var="#expandPath('/inc/galleon/udf.cfm')#" />
<cfinclude
template="_components/_prerequest.cfm">
</cffunction>
It then includes another template and the mapping suddenly fails /
breaks because I copy and paste that same cfdump line into the included
template and abort the request
<cfdump var="#expandPath('/inc/galleon/udf.cfm')#" /><cfabort>
And the returned paths are different...
C:\apache\htdocs\galleon\ontap\_components\_includes\galleon\udf.cfm
C:\apache\htdocs\inc\galleon\udf.cfm
Which means my mapping is only working inside my CFC.
What's especially maddening about this is that I know I have at least
one other copy of the framework in an alternate directory that's using
that /inc mapping without any problems.
Has anyone else seen this?
Thanks,
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 617.365.5732
http://onTap.riaforge.org/blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305790
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4