Title: RE: How to specify location of config.xml.cfm
Thread: How to specify location of config.xml.cfm
Forum: Need Help?
Conference: ColdBox
User: lmajano
Hi puc,
You can use the override variable before the actual include of the
coldbox.cfm file. You can read on this in the FAQ
http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbFAQ#CanIoverridewhichconf
igfilegetsloaded
You basically set the location of the file in this variable
like so, most likely in the index.cfm
[code]
<cfset
COLDBOX_CONFIG_FILE="/mymapping/config.xml.cfm" >
<cfinclude
template="/coldbox/system/coldbox.cfm">
[/code]
That is it.