Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cffunction
- name="OnApplicationStart"
- access="public"
- returntype="boolean"
- output="false"
- hint="Fires when the application is first created.">
- <cfset application.dsn = "myDSN" />
- <cfset application.apiUser = "myUserName" />
- <cfset application.apiPass = "myPassword" />
- <cfset application.botSoftDisabled = false />
- <cfset application.botHardDisabled = false />
- <cfset application.lastTweet = now() />
- <cfset application.debugEnabled = false />
- <cfset application.oDebug =
- createObject("component", "MyApplication.Com.Debug").init() />
- <cfset application.oDebug.debugMsg("App Started", "App Started") />
- <!--- Return out. --->
- <cfreturn true />
- </cffunction>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement