Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component {
- this.name = 'ColdBoxTestingSuite' & hash(getCurrentTemplatePath());
- this.sessionManagement = true;
- this.sessionTimeout = createTimeSpan(0, 0, 30, 0);
- this.setClientCookies = true;
- // Setup ORM
- this.datasource = "sorry";
- this.ormenabled = true;
- this.ormsettings = {
- // More elborate settings for the ORM.
- dbcreate = "dropcreate",
- cfclocation = ["/sorryapp/model/"]
- };
- this.mappings["/approot"] = ExpandPath( "../" );
- public boolean function onRequestStart(string targetPage) {
- // Reload the ORM configuration and mappings.
- ORMReload();
- // Confirm that the request has been processed.
- return True;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement