The documentation claims that GetCurrentTemplatePath() returns "The absolute 
path of the page that contains the call to this function, as a string."

This is probably true of most callers, but it's not true when Application.cfm 
is the calling page. The returned path varies, depending upon which page 
implicitly includes Application.cfm.

So, two questions:
  1. Shouldn't there be a note in the docs that explains the behaviour of this 
method when called from Application.cfm?
  2. Is expandPath("./") a reliable means of determining the Application.cfm's 
absolute path? If so, is it cross-platform? If not, what is?

Thanks,
Jamie

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202315
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to