[cfaussie] Re: Path to the site root directory

2006-06-22 Thread Andrew Mercer
Have a look atExpandPath( /) On 6/22/06, Scott Thornton [EMAIL PROTECTED] wrote:Hello,Is there a programmatical way of returning the root directory of the website, regardless of the current page's location within the site? egThe site http://mysite/somepage.cfm = c:\mysites\application\the site

[cfaussie] Re: Path to the site root directory

2006-06-22 Thread Rod Higgins
cfset thisPath=ExpandPath(/) cfset rootDirectory=GetDirectoryFromPath(thisPath) or am I missing something? - Original Message - From: Scott Thornton [EMAIL PROTECTED] To: cfaussie@googlegroups.com Sent: Thursday, June 22, 2006 12:17 PM Subject: [cfaussie] Path to the site root

[cfaussie] Re: Path to the site root directory

2006-06-22 Thread Taco Fleur
put this in your application.cfm application.path = getDirectoryFromPath( getCurrentTemplatePath() ); On 6/22/06, Scott Thornton [EMAIL PROTECTED] wrote: Hello,Is there a programmatical way of returning the root directory of the website, regardless of the current page's location within the site?