GetCurrentTemplatePath()
Gets the absolute path of the page that calls this function.
GetCurrentTemplatePath( );
Returns: String
This function does not take any arguments.
Examples
testPath = getCurrentTemplatePath();
writeDump(testPath);
See also
- File handling
- Core CFML Language
- ExpandPath()
- GetDirectoryFromPath()
- GetTempDirectory()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)