PageRenderTime 11ms CodeModel.GetById 1ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/fw1config.cfm

http://github.com/Lagaffe/MobileMura
ColdFusion | 59 lines | 35 code | 5 blank | 19 comment | 2 complexity | 7fc91ea60c35cc9b3be56f266d09a945 MD5 | raw file
 1<!---
 2
 3MobileMura/fw1config.cfm
 4
 5Copyright 2011 Guust Nieuwenhuis 
 6
 7Licensed under the Apache License, Version 2.0 (the "License"); 
 8you may not use this file except in compliance with the License. 
 9You may obtain a copy of the License at 
10
11http://www.apache.org/licenses/LICENSE-2.0 
12
13Unless required by applicable law or agreed to in writing, software 
14distributed under the License is distributed on an "AS IS" BASIS, 
15WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
16See the License for the specific language governing permissions and 
17limitations under the License. 
18
19--->
20
21<cfscript>
22	framework = StructNew();
23
24	// !important: enter the plugin packageName here. must be the same as found in '/plugin/config.xml.cfm'
25	framework.package = 'MobileMura';
26
27	// less commonly modified
28	framework.defaultSection = 'main';
29	framework.defaultItem = 'default';
30	framework.usingSubSystems = true;
31	framework.defaultSubsystem = 'public';
32
33	// ***** rarely modified *****
34	framework.applicationKey = framework.package;
35	framework.base = '/' & framework.package;
36	framework.action = 'action';
37	//framework.reload = 'reload';
38	//framework.password = 'appreload';
39	framework.reloadApplicationOnEveryRequest = true;
40	framework.generateSES = false;
41	framework.SESOmitIndex = true;
42	framework.baseURL = 'useRequestURI';
43	framework.suppressImplicitService = false;
44	framework.unhandledExtensions = 'cfc';
45	framework.unhandledPaths = '/flex2gateway';
46	framework.preserveKeyURLKey = 'fw1pk';
47	framework.maxNumContextsPreserved = 10;
48	framework.cacheFileExists = false;
49
50	if ( framework.usingSubSystems ) {
51		framework.subsystemDelimiter = ':';
52		framework.siteWideLayoutSubsystem = 'common';
53		framework.home = framework.defaultSubsystem & framework.subsystemDelimiter & framework.defaultSection & '.' & framework.defaultItem;
54		framework.error = framework.defaultSubsystem & framework.subsystemDelimiter & framework.defaultSection & '.error';
55	} else {
56		framework.home = framework.defaultSection & '.' & framework.defaultItem;
57		framework.error = framework.defaultSection & '.error';
58	};
59</cfscript>