Created
November 7, 2013 05:22
-
-
Save muracms/7349403 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| component { | |
| /* | |
| You must include the applicationSettings.cfm file to | |
| share the same Application.cfc | |
| */ | |
| include "../../config/applicationSettings.cfm"; | |
| include "../../config/appcfc/onApplicationStart_method.cfm"; | |
| /* | |
| There are actually 4 onRequestStart method includes: | |
| onRequestStart_method.cfm | |
| onRequestStart_scriptProtect_method.cfm | |
| scriptProtect_include.cfm | |
| onRequestStartinclude.cfm | |
| The 'scriptProtect' versions run the request through Portcullis.cfc | |
| In the below example it is creating its own onRequestStart function | |
| and include the core Mura business logic. | |
| */ | |
| onRequestStart() { | |
| include "../../config/appcfc/scriptProtect_include.cfm"; | |
| include "../../config/appcfc/onRequestStart_include.cfm"; | |
| } | |
| include "../../config/appcfc/onRequestEnd_method.cfm"; | |
| include "../../config/appcfc/onSessionStart_method.cfm"; | |
| include "../../config/appcfc/onSessionEnd_method.cfm"; | |
| include "../../config/appcfc/onError_method.cfm"; | |
| include "../../config/appcfc/onMissingTemplate_method.cfm"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment