Getting the Application Root Path in ColdFusion

coldfusion I wrote a handy function today that will return the server file system path of the acting Application.cfm file for a ColdFusion application. It works by working its way up the directory tree until it finds an Application.cfm file. If it doesn't find one it will throw an exception.

This entry was:


did you hack my cf?