Created
October 17, 2012 06:22
-
-
Save stevereich/3903996 to your computer and use it in GitHub Desktop.
Setting a CFC Object as an application variable in Coldfusion
This file contains 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
<cfscript> | |
application.filters = CreateObject("component", "myCFCs.filters").init(application.settings.dsn_filters); //pass datasource to object | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment