Hi Again Brad! I hope all is well. Thank you for assisting me!
The following is Coldbox.cfc
component{
// Configure ColdBox Application
function configure(){
// coldbox directives
coldbox = {
//Application Setup
appName = "Your app name here",
eventName = "event",
//Development Settings
reinitPassword = "",
handlersIndexAutoReload = true,
//Implicit Events
defaultEvent = "",
requestStartHandler = "Main.onRequestStart",
requestEndHandler = "",
applicationStartHandler = "Main.onAppInit",
applicationEndHandler = "",
sessionStartHandler = "",
sessionEndHandler = "",
missingTemplateHandler = "",
//Extension Points
applicationHelper = "includes/helpers/ApplicationHelper.cfm",
viewsHelper = "",
modulesExternalLocation = [],
viewsExternalLocation = "",
layoutsExternalLocation = "",
handlersExternalLocation = "",
requestContextDecorator = "",
controllerDecorator = "",
//Error/Exception Handling
exceptionHandler = "",
onInvalidEvent = "",
customErrorTemplate = "",
//Application Aspects
handlerCaching = false,
eventCaching = false,
proxyReturnCollection = false,
// Debugger Settings
debugger = {
// Activate debugger for everybody
debugMode = true,
// Setup a password for the panel
debugPassword = "",
enableDumpVar = true,
persistentRequestProfiler = true,
maxPersistentRequestProfilers = 10,
maxRCPanelQueryRows = 50,
showTracerPanel = true,
expandedTracerPanel = true,
showInfoPanel = true,
expandedInfoPanel = true,
showCachePanel = true,
expandedCachePanel = false,
showRCPanel = true,
expandedRCPanel = false,
showModulesPanel = true,
expandedModulesPanel = false,
showRCSnapshots = false,
wireboxCreationProfiler = false
}
};
// custom settings
settings = {
};
// environment settings, create a detectEnvironment() method to detect it yourself.
// create a function with the name of the environment so it can be executed if that environment is detected
// the value of the environment is a list of regex patterns to match the cgi.http_host.
environments = {
development = "localhost"
};
// Module Directives
modules = {
//Turn to false in production
autoReload = true,
// An array of modules names to load, empty means all of them
include = [],
// An array of modules names to NOT load, empty means none
exclude = []
};
//LogBox DSL
logBox = {
// Define Appenders
appenders = {
coldboxTracer = { class="coldbox.system.logging.appenders.ConsoleAppender" }
},
// Root Logger
root = { levelmax="INFO", appenders="*" },
// Implicit Level Categories
info = [ "coldbox.system" ]
};
//Layout Settings
layoutSettings = {
defaultLayout = "",
defaultView = ""
};
//Interceptor Settings
interceptorSettings = {
throwOnInvalidStates = false,
customInterceptionPoints = ""
};
//Register interceptors as an array, we need order
interceptors = [
//SES
{class="coldbox.system.interceptors.SES",
properties={}
}
];
/*
// flash scope configuration
flash = {
scope = "session,client,cluster,ColdboxCache,or full path",
properties = {}, // constructor properties for the flash scope implementation
inflateToRC = true, // automatically inflate flash data into the RC scope
inflateToPRC = false, // automatically inflate flash data into the PRC scope
autoPurge = true, // automatically purge flash data for you
autoSave = true // automatically save flash scopes at end of a request and on relocations.
};
//Register Layouts
layouts = [
{ name = "login",
file = "Layout.tester.cfm",
views = "vwLogin,test",
folders = "tags,pdf/single"
}
];
//Conventions
conventions = {
handlersLocation = "handlers",
viewsLocation = "views",
layoutsLocation = "layouts",
modelsLocation = "models",
eventAction = "index"
};
//Datasources
datasources = {
mysite = {name="mySite", dbType="mysql", username="root", password="pass"},
blog_dsn = {name="myBlog", dbType="oracle", username="root", password="pass"}
};
*/
}
/**
* Development environment
*/
function development(){
coldbox.customErrorTemplate = "/coldbox/system/includes/BugReport.cfm";