root/trunk/website/blog/cfformprotect/cffpConfig.cfm @ 31

Revision 5, 462 bytes (checked in by DanWilson, 17 years ago)

Initial Commit Of ModelGlue? Website (upgrade to blogcfc 511)

Line 
1<cfset iniPath = getDirectoryFromPath(getCurrentTemplatePath())>
2
3<!--- Load the ini file into a structure in the application scope --->
4<cfset iniFileStruct = getProfileSections("#iniPath#/cffp.ini.cfm")>
5<cfset iniFileEntries = iniFileStruct["CFFormProtect"]>
6<cfset cffpConfig = structNew()>
7<cfloop list="#iniFileEntries#" index="iniEntry">
8        <cfset cffpConfig[iniEntry] = getProfileString("#iniPath#/cffp.ini.cfm","CFFormProtect",iniEntry)>
9</cfloop>
Note: See TracBrowser for help on using the browser.