> This is the last time I'll ask, I swear, but is there 
> a way to figure out what the web root is from CFML? 

No, I don't think so.

> I know ColdFusion must know what it is to map directories, 
> so couldn't the CF engine just play fair and set some
> variable for us to reference, or at least give us a relative 
> path so that we can figure it out ourselves...or is this 
> some deeply rooted evil idea that should be buried and 
> never surface again?

I don't know that it's an evil idea, but I also don't know that CF "knows"
it, either - it shouldn't have to, for its own directory mappings, since it
stores a logical path and its corresponding physical filesystem path for
each mapping. Also, there's no need for the "root" mapping to correspond to
the web root directory, so CF can't just assume that it does. However, if
you wanted to make this assumption, you could look the "root" mapping value
up within your code.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to