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

/wheels/functions.cfm

http://raihan.googlecode.com/
ColdFusion | 30 lines | 30 code | 0 blank | 0 comment | 0 complexity | 338eaab980154b40fead83b42c6d370d MD5 | raw file
 1<cfset this.name = Hash(GetDirectoryFromPath(GetBaseTemplatePath()))>
 2<cfset this.mappings["/wheelsMapping"] = GetDirectoryFromPath(GetBaseTemplatePath()) & "wheels">
 3<cfset this.sessionManagement = true>
 4<cfif StructKeyExists(server, "railo")>
 5	<cfinclude template="../config/app.cfm">
 6	<cfinclude template="controller/appfunctions.cfm">
 7	<cfinclude template="global/appfunctions.cfm">
 8	<cfinclude template="events/onapplicationend.cfm">
 9	<cfinclude template="events/onapplicationstart.cfm">
10	<cfinclude template="events/onerror.cfm">
11	<cfinclude template="events/onmissingtemplate.cfm">
12	<cfinclude template="events/onsessionend.cfm">
13	<cfinclude template="events/onsessionstart.cfm">
14	<cfinclude template="events/onrequest.cfm">
15	<cfinclude template="events/onrequestend.cfm">
16	<cfinclude template="events/onrequeststart.cfm">
17<cfelse>
18	<cfinclude template="config/app.cfm">
19	<cfinclude template="wheels/controller/appfunctions.cfm">
20	<cfinclude template="wheels/global/appfunctions.cfm">
21	<cfinclude template="wheels/events/onapplicationend.cfm">
22	<cfinclude template="wheels/events/onapplicationstart.cfm">
23	<cfinclude template="wheels/events/onerror.cfm">
24	<cfinclude template="wheels/events/onmissingtemplate.cfm">
25	<cfinclude template="wheels/events/onsessionend.cfm">
26	<cfinclude template="wheels/events/onsessionstart.cfm">
27	<cfinclude template="wheels/events/onrequest.cfm">
28	<cfinclude template="wheels/events/onrequestend.cfm">
29	<cfinclude template="wheels/events/onrequeststart.cfm">
30</cfif>