Environments
Default: Regex matching against cgi.http_host
environments = {
// The key is the name of the environment
// The value is a list of regex to match against cgi.http_host
development = "^cf2016.,^lucee.,localhost",
staging = "^stg"
};if ( getSetting('environment') == 'development' ){
doSomeMajik();
}Detection of an environmental variable called ENVIRONMENT
Custom Environment Detection
Last updated
Was this helpful?