Utility Function: GetCurrentDirectory()
- October 23, 2008 12:03 PM
- ColdFusion, Utility Function
- Comments (0)
This one is really short... I use code like this all over the place, and its always cumbersome to do the nested function call every time.
<cffunction name="GetCurrentDirectory" output="false" access="public" returntype="string">
<cfreturn GetDirectoryFromPath(GetBaseTemplatePath()) />
</cffunction>