I’m a little perplexed about expandpath.  I have a CF mapping to a folder outside of my webroot.  I tried using expandpath(“/[CF MAPPING NAME]”) thinking it would resolve to the path entered for mapping in CF Admin.  It returns the webrootpath/[CF MAPPING Name].

 

CF Mapping:

/MYSQL    C:\_Components\MYSQL

 

ExpandPath() Returns:

c:\inetpub\wwwroot\MYSQL

 

Expected:

C:\_Components\MYSQL

 

If expandpath only works against webroot, then what’s the point of having CF Mapping (I know it is used for cfmodules, cfincludes,…)?  Is there a way to retrieve the path the mapping represents?

 

Thanks - Tom

Reply via email to