coldfusioncoldfusion-9application.cfcapplication.cfm

Application.cfc vs Application.cfm which has more priority in different folders


In my application root folder, I have an Application.cfc file. In a subfolder, there is an Application.cfm. When I call a script in the subfolder which Application file executes: Application.cfc or Application.cfm?


Solution

  • When you call templates in the subfolder then the Application.cfm in the subfolder gets executed.