I am not able to get absolute path of current template. Here are the functions that I tried:
#ExpandPath( "./" )#<br />
#GetCurrentTemplatePath()#<br />
#GetBaseTemplatePath()#<br />
#ExpandPath( CGI.script_name )#<br />
and here is the output (All relative paths):
/var/www/html/
/var/www/html/testPaths.cfm
/var/www/html/testPaths.cfm
/var/www/html/testPaths.cfm
Is there some setting in CFAdmin that I am missing?
The path you’re getting back is the absolute path, but on a linux server, not a windows server. Linux paths don’t have a drive letter.