From: <ndi...@pr...> - 2002-11-18 20:29:39
|
Update of /cvsroot/modus/org/bacfug/modus In directory sc8-pr-cvs1:/tmp/cvs-serv20696/bacfug/modus Added Files: modusinit.cfm Log Message: (just cleaning up before we move to the new service-based model -- this is more for posterity than anything else). --- NEW FILE: modusinit.cfm --- <cfset request.initModusMemory = false> <cfscript> //if the in-memory storage is not made, make it if(NOT structKeyExists(server,"modus")) request.initModusMemory = true; </cfscript> <cfif request.initModusMemory> <cflock scope="server" type="exclusive" timeout="30"> <cfscript> //build the in-memory storage server.modus = structNew(); server.modus.contentObjectCache = structNew(); server.modus.contentObjectCache.objectInstances = structNew(); server.modus.contentObjectCache.objectTypes = structNew(); </cfscript> </cflock> </cfif> |