Skip to main content
Inspiring
March 27, 2009
Question

Application.cfm and other cfc includes

  • March 27, 2009
  • 1 reply
  • 505 views
I am wondering if having multiple Application.cfm files causes or can cause problems?

Here is what I have:

I have my root(public) folder that contains an Application.cfm file and I also have an 'admin'(private) child folder with a Application.cfm file also. There is also a 'cfc' folder(child of root folder) to handle the normal cfc things. The root folder and admin folder both have pages that call potentially the same cfc files from the cfc folder. Will or can this cause any problems or anomalies by including pages this way? The application.cfm files are exactly the same except for changing the application name. Hopefully I was clear enough in my explanation. TIA.
    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    March 28, 2009
    root(public) folder
    |_admin(private) folder(contains CFM files and own Application.cfm)
    |_cfc folder
    |_Application.cfm
    |_CFM files

    Looks fine to me. The CFM files in the admin folder will only include the application file in that folder.