Question
CFExpand Path
I'm trying to use ExpandPath to set destination and source
attributes in cffile.
My issue is that ExpandPath("/") returns C:\sites\mysite\ on my remote server and C:\ColdFusion8\wwwroot\ on my local server.
If I use ExpandPath("/mysite/"), I get C:\ColdFusion8\wwwroot\mysite\ on my local server and C:\websites\mysite\mysite\ on the remote server.
Is their mapping or something I can do on my local server to make ExpandPath return the same path on both servers so that I don't have to change the code work on the code on my local server and then change it again to put it on the remote server?
I'm using Dreamweaver CS3 to manage mysite.
My issue is that ExpandPath("/") returns C:\sites\mysite\ on my remote server and C:\ColdFusion8\wwwroot\ on my local server.
If I use ExpandPath("/mysite/"), I get C:\ColdFusion8\wwwroot\mysite\ on my local server and C:\websites\mysite\mysite\ on the remote server.
Is their mapping or something I can do on my local server to make ExpandPath return the same path on both servers so that I don't have to change the code work on the code on my local server and then change it again to put it on the remote server?
I'm using Dreamweaver CS3 to manage mysite.
