Luis Majano Forums Notification: Post to How to specify location of config.xml.cfm

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.

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=1B3E00E1-123F-6116-422A74DFC6FC9AAD