Which Application.cfc get executed?
I'm working on a clients system that has a library of CFC's in a folder called /Admin/cfcs. Inside that folder is an Application.cfc file.
There is also an Application.cfc file at the root directory. Off the root directory are other folders in addition to the Admin folder.
When I execute the template /Members/Index.cfm a few of the methods from the CFC library get executed.
If there aren't any calls to the CFC library I'm 100% sure the Application.cfc in the root folder gets executed when I run any of the templates in any folder off the root folder.
My question is if a template, such as /Members/Index.cfm, invokes a method from the CFC library does the Application.cfc template in the /Admin/cfcs folder get executed or is the root Application.cfc the one executed.
I believe it's just the root one but I'm not 100% sure.
Any thoughts??? Does having an Application.cfc in the library folder cause any issues???
Thanks in advance for the assist!
