Jochem,

It wouldn't with the rewrite rules I provided since those escape  
existing files/directories, so   I just tested it out, removing the  
rewrite conditions to escape existing files.

getCurrentTemplatePath() returns the correct value regardless of the  
rewrite rule - at least when used from any template or include from  
template which URL's are being rewritten.

For obvious reasons, I wasn't able to test it on a template that  
wasn't a target of the rewrite.

Regards,

Jon

On Apr 17, 2007, at 3:46 AM, Jochem van Dieten wrote:

> Does GetCurrentTemplatePath() suffer from this too?
>
> Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275552
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to