I usually add an Application.cfm to the root of a site and detect these
values there or hard-code them in a settings file there. Another thing that
infuriates me is a custom tag's lack of ability to establish the location of
the template that called it without resorting to questionable tricks. Oh,
not being able to write relative paths with ".." in them when extending a
CFC drives me nuts too. I'm sure there are more.

  _____  

From: erick calder [mailto:[EMAIL PROTECTED]
Sent: Friday, 30 July 2004 11:03 a.m.
To: CF-Talk
Subject: web server document root?

coming from PHP where one can look at $_SERVER["DOCUMENT_ROOT"], I find it
maddening that Cold Fusion does not offer that... I see the Server.RootDir
but that tells me the home for ColdFusion, not the directory that serves as
root for my web server, which is different.

have I missed something or is there some trick to this? anyone?

thx - e

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to