« Return to Thread: how to get the absolute path

Re: how to get the absolute path

by Matt Quackenbush-2 :: Rate this Message:

Reply to Author | View in Thread


<cfinclude /> requires either an root-absolute path, or a relative path.  So
you have two choices...

<cfinclude template="/absolute/path/from/root/file.cfm" />

OR

<cfinclude
template="../../relative/path/from/currently/executing/template.cfm" />


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324348
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4

 « Return to Thread: how to get the absolute path