Discussion:
Application.cfc and other cfc includes
(too old to reply)
rmorgan
2009-03-27 15:10:29 UTC
Permalink
I am wondering if having multiple Application.cfc files causes or can cause
problems?

Here is what I have:

I have my root(public) folder that contains an Application.cfc file and I also
have an 'admin'(private) child folder with a Application.cfc 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.cfc files are exactly the same
except for changing the application name. Hopefully I was clear enough in my
explanation. TIA.
BKBK
2009-03-28 09:40:55 UTC
Permalink
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.

Loading...