-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMyApplication.cfc
executable file
·35 lines (26 loc) · 989 Bytes
/
MyApplication.cfc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
component extends="framework.one" {
// Version: FW/1 4.0.0
// if you need to provide extension points, copy this to
// your web root, next to your Application.cfc, and add
// functions to it, then in Application.cfc use:
// request._framework_one = new MyApplication( config );
// instead of:
// request._framework_one = new framework.one( config );
// in the _get_framework_one() function.
//
// if you do not need extension points, you can ignore this
function setupApplication() {
var key = FileRead("config/quandl.key.cfm");
application.quandlKey = key;
}
function setupEnvironment( env ) { }
function setupSession() { }
function setupRequest() {
if (structKeyExists(request.context, "reloadORM") && request.context.reloadORM) {
ORMReload();
}
}
function setupResponse( rc ) { }
function setupSubsystem( module ) { }
function setupView( rc ) { }
}