Hi,
I get this error
Hi,
I get this error
Marc,
You don't need the environmentInterceptor in CB 3.0, you can do the
following in your Coldbox.cfc
// Environments
environments = {
development = "^localhost",
staging = "mystagingserver.com"
};
In (the same) Coldbox.cfc you create a new functions using the same
name as your environment keys e.g.
// Environment functions
function development(){
// Development Settings
coldbox.debugPassword = "";
coldbox.reinitPassword = "";
//Application Aspects
coldbox.handlerCaching = false;
coldbox.eventCaching = false;
coldbox.configAutoReload = true;
}
function staging(){
}
Read to docs for more info. Keep in mind, if on Linux, that cfcs start
with a capital now, so:
coldbox.system.interceptors.security in CB 3.0 is
coldbox.system.interceptors.Security
Ernst
ok,
I transferred the Coldbox.xml. Don't get this error anymore.
Thanks,
Marc