/t5/coldfusion-discussions/get-the-web-root-path-programmatically/td-p/907404May 22, 2008
May 22, 2008
Copy link to clipboard
Copied
I've got a column in a database with an absolute path to a
file on our webserver.
What function can i call to return the webroot where the CF
server is actually running?
I tried getContextRoot() but that returns a coldfusion temp
directory.