Changeset 264

Show
Ignore:
Timestamp:
11/04/06 19:13:23 (2 years ago)
Author:
scorfield
Message:

Fixes #99 again - the previous fix did not account for both circuit.xml and circuit.xml.cfm files.

Location:
framework/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • framework/trunk/fuseboxApplication.cfc

    r263 r264  
    9393                                        hint="I am the myFusebox data structure." /> 
    9494                 
    95                 <!--- fixed ticket 99 ---> 
     95                <!--- fixed ticket 99 again ---> 
    9696                <cfset var myVersion = "5.0.1.#REReplace('$LastChangedRevision$','[^0-9]','','all')#" /> 
    9797 
  • framework/trunk/fuseboxCircuit.cfc

    r263 r264  
    109109 
    110110                <cfif structKeyExists(this,"timestamp")> 
     111                        <cfif not fileExists(variables.fullPath & circuitFile)> 
     112                                <cfset circuitFile = "circuit.xml" /> 
     113                        </cfif> 
    111114                        <!--- Java timestamp solution provided by Daniel Schmid ---> 
    112115                        <cfset myCircuitFilePath = variables.fullPath & circuitFile /> 
    113116                        <cfset jCircuitFile = createObject("java","java.io.File").init(myCircuitFilePath) /> 
    114117                        <cfset dtLastModified = createObject("java","java.util.Date").init(jCircuitFile.lastModified()) /> 
    115                         <cfset needToLoad = parseDateTime(dtLastModified) gt parseDateTime(variables.timestamp) /> 
     118                        <cfset needToLoad = parseDateTime(dtLastModified) gt parseDateTime(this.timestamp) /> 
    116119                </cfif> 
    117120 
  • framework/trunk/myFusebox.cfc

    r263 r264  
    5151<cfcomponent hint="I provide the per-request myFusebox data structure and some convenience methods."> 
    5252        <cfscript> 
    53         // fixed ticket 99 
     53        // fixed ticket 99 again 
    5454        this.version.runtime     = "5.0.1.#REReplace('$LastChangedRevision$','[^0-9]','','all')#"; 
    5555