Changeset 263
- Timestamp:
- 11/04/06 19:06:01 (2 years ago)
- Location:
- framework/trunk
- Files:
-
- 3 modified
-
fuseboxApplication.cfc (modified) (1 diff)
-
fuseboxCircuit.cfc (modified) (1 diff)
-
myFusebox.cfc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
framework/trunk/fuseboxApplication.cfc
r262 r263 93 93 hint="I am the myFusebox data structure." /> 94 94 95 <!--- fixed ticket 99 ---> 95 96 <cfset var myVersion = "5.0.1.#REReplace('$LastChangedRevision$','[^0-9]','','all')#" /> 96 97 -
framework/trunk/fuseboxCircuit.cfc
r261 r263 104 104 <cfset var needToLoad = true /> 105 105 <cfset var circuitFiles = 0 /> 106 <cfset var myCircuitFilePath = "" /> 107 <cfset var jCircuitFile = "" /> 108 <cfset var dtLastModified = "" /> 106 109 107 110 <cfif structKeyExists(this,"timestamp")> 108 < cfdirectory action="list" directory="#variables.fullPath#" filter="circuit.xml*" name="circuitFiles" />109 <cf if circuitFiles.recordCount eq 1>110 <cfset needToLoad = parseDateTime(circuitFiles.dateLastModified) gt parseDateTime(this.timestamp) />111 < !--- else ignore the ambiguity --->112 < /cfif>111 <!--- Java timestamp solution provided by Daniel Schmid ---> 112 <cfset myCircuitFilePath = variables.fullPath & circuitFile /> 113 <cfset jCircuitFile = createObject("java","java.io.File").init(myCircuitFilePath) /> 114 <cfset dtLastModified = createObject("java","java.util.Date").init(jCircuitFile.lastModified()) /> 115 <cfset needToLoad = parseDateTime(dtLastModified) gt parseDateTime(variables.timestamp) /> 113 116 </cfif> 114 117 -
framework/trunk/myFusebox.cfc
r262 r263 51 51 <cfcomponent hint="I provide the per-request myFusebox data structure and some convenience methods."> 52 52 <cfscript> 53 // fixed ticket 99 53 54 this.version.runtime = "5.0.1.#REReplace('$LastChangedRevision$','[^0-9]','','all')#"; 54 55
