files. :)
On Oct 31, 12:27 am, Chris Blackwell <
ch...@team193.com> wrote:
> wow, thats a whole lot of IIF & DE headache isn't it! have you done that to
> accomodate the different path seperators on linux and windows systems?? If
> so theres no need - use "/" everywhere
>
> you don't want to use expandpath(".") here, because if you're executing a
> file in a subdirectory i don't believe that will give you the correct
> result.
>
> heres what works for me
>
> <cfset appRoot = getDirectoryfromPath(getcurrentTemplatePath()) />
> <cfset this.mappings["/coldspring"] = appRoot & "/coldspring" />
>