I have been using GetDirectoryFromPath(ExpandPath("*.*"))
to get the base path of the site as in the example in https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-e-g/getdirectoryfrompath.html
However, this results in an error with Lucee 6.2.0.321
A workaround appears to be GetDirectoryFromPath(GetBaseTemplatePath())
OS: Windows 11 and Windows Server 2025
Java Version: 21.0.6+7-LTS
Tomcat Version: 9.0.100
Lucee Version: 6.2.0.321
5 posts - 4 participants