Changeset 278
- Timestamp:
- 12/19/06 17:09:53 (2 years ago)
- Location:
- framework/trunk
- Files:
-
- 3 modified
-
fuseboxApplication.cfc (modified) (2 diffs)
-
fuseboxCircuit.cfc (modified) (1 diff)
-
myFusebox.cfc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
framework/trunk/fuseboxApplication.cfc
r277 r278 93 93 hint="I am the myFusebox data structure." /> 94 94 95 <!--- fixed ticket 73--->95 <!--- partial fix for ticket 95 ---> 96 96 <cfset var myVersion = "5.0.1.#REReplace('$LastChangedRevision$','[^0-9]','','all')#" /> 97 97 … … 746 746 detail="You have attempted to declare a namespace '#aLex.namespace#' (in fusebox.xml) which is reserved by the Fusebox framework." /> 747 747 </cfif> 748 <cfset aLex.path = getApplication().getCoreToAppRootPath() & getApplication().lexiconPath & attributes[attr] /> 748 <cfset attributes[attr] = replace(attributes[attr],"\","/","all") /> 749 <cfif left(attributes[attr],1) is "/"> 750 <!--- assume mapped / root-relative path ---> 751 <cfset aLex.path = attributes[attr] /> 752 <cfelse> 753 <cfset aLex.path = getApplication().getCoreToAppRootPath() & getApplication().lexiconPath & attributes[attr] /> 754 </cfif> 755 <cfif right(aLex.path,1) is not "/"> 756 <cfset aLex.path = aLex.path & "/" /> 757 </cfif> 749 758 <cfset variables.lexicons[aLex.namespace] = aLex /> 750 759 <cfset variables.customAttributes[aLex.namespace] = structNew() /> -
framework/trunk/fuseboxCircuit.cfc
r269 r278 446 446 detail="You have attempted to declare a namespace '#aLex.namespace#' (in Circuit #getAlias()#) which is reserved by the Fusebox framework." /> 447 447 </cfif> 448 <cfset aLex.path = variables.fuseboxApplication.getCoreToAppRootPath() & variables.fuseboxApplication.lexiconPath & attributes[attr] /> 448 <cfset attributes[attr] = replace(attributes[attr],"\","/","all") /> 449 <cfif left(attributes[attr],1) is "/"> 450 <!--- assume mapped / root-relative path ---> 451 <cfset aLex.path = attributes[attr] /> 452 <cfelse> 453 <cfset aLex.path = variables.fuseboxApplication.getCoreToAppRootPath() & variables.fuseboxApplication.lexiconPath & attributes[attr] /> 454 </cfif> 455 <cfif right(aLex.path,1) is not "/"> 456 <cfset aLex.path = aLex.path & "/" /> 457 </cfif> 449 458 <cfset variables.lexicons[aLex.namespace] = aLex /> 450 459 <cfset variables.customAttributes[aLex.namespace] = structNew() /> -
framework/trunk/myFusebox.cfc
r277 r278 51 51 <cfcomponent hint="I provide the per-request myFusebox data structure and some convenience methods."> 52 52 <cfscript> 53 // fixed ticket 7353 // partial fix for ticket 95 54 54 this.version.runtime = "5.0.1.#REReplace('$LastChangedRevision$','[^0-9]','','all')#"; 55 55
