aliaspooryorik
GetTemplatePath
in there which currently in ColdBox https://github.com/ColdBox/coldbox-platform/blob/development/system/web/config/ApplicationLoader.cfc#L177 expect it works just fine but just flagging in case it's useful 🙂 `https://helpx.adobe.com/coldfusion/deprecated-features.htmlbdw429s
05/11/2022, 1:47 PMaliaspooryorik
getTemplatePath
can you use getBaseTemplatePath
instead?getcurrenttemplatepath
?bdw429s
05/11/2022, 1:52 PMGets the absolute server file system path of the requested CFML file.
Returns the filepath of the base template in this request
Gets the absolute server file system path of the file that calls this function.
aliaspooryorik
getBaseTemplatePath
is the path to the Application.cfc. getcurrenttemplatepath
is the current script path where the function is called from ,bdw429s
05/11/2022, 1:55 PM