Title: Problems with Environment Interceptor
Thread: Problems with Environment Interceptor
Forum: Need Help?
Conference: ColdBox
User: CraigHeneveld Iam trying to get the Environment Interceptor working on an Application. I am
working locally (http://localhost). The intercept is being called but my
settings are not being over written. Here is my code.
<Interceptor
class="shared.frameworks.coldbox_2_50.coldbox.system.interceptors.environmentCon
trol">
<Property name='configFile'>config/environments.xml.cfm</Property>
<Property name='fireOnInit'>false</Property>
</Interceptor>
<?xml
version="1.0" encoding="ISO-8859-1"?>
<!-- Declare as many tiers as you like
with a unique name -->
<environmentcontrol>
<!-- give an
environment a name and a comma delimmited list of url snippets to match -->
<environment name="local" urls="localhost">
<!--ColdBoxSpecific
Settings -->
<Setting name="DebugMode"
value="false" />
<Setting name="ConfigAutoReload" value="true" />
<Setting name="htmlBaseURL" value="http://localhost"/>
<Setting name="title" value="DEVELOPMENT | Best Life Moments"/>
</environment>
</environmentcontrol>
Can anyone see why my
settings are not being overridin?
http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=F36DB06A-FF65-CEF6-655DBCAAAAE9B918