You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( !structKeyExists( request, '_framework_one' ) ) {
73
+
// create my extended version of FW/1:
74
+
request._framework_one = new MyApplication( {
75
+
trace : true
76
+
} );
77
+
}
78
+
return request._framework_one;
79
+
}
80
+
81
+
// lifecycle methods, per /framework/Application.cfc
82
+
...
83
+
}
84
+
85
+
Note that you can put your version of `MyApplication.cfc` anywhere and call it anything you want, as long as CFML can create an instance of it. A good strategy is to create a per-application mapping for your application's base folder and use that:
0 commit comments