Changeset 258
- Timestamp:
- 11/03/06 22:30:34 (2 years ago)
- Location:
- framework/trunk
- Files:
-
- 2 modified
-
fusebox5.cfm (modified) (2 diffs)
-
fuseboxApplication.cfc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
framework/trunk/fusebox5.cfm
r256 r258 52 52 53 53 <!--- FB5: allow "" default - FB41 required this variable: ---> 54 <cfparam name="variables.FUSEBOX_APPLICATION_PATH" type="string"default="" />54 <cfparam name="variables.FUSEBOX_APPLICATION_PATH" default="" /> 55 55 <!--- FB5: application key - FB41 always uses 'fusebox': ---> 56 <cfparam name="variables.FUSEBOX_APPLICATION_KEY" type="string"default="fusebox" />57 58 <cfparam name="variables.attributes" type="struct"default="#structNew()#" />56 <cfparam name="variables.FUSEBOX_APPLICATION_KEY" default="fusebox" /> 57 58 <cfparam name="variables.attributes" default="#structNew()#" /> 59 59 <cfset structAppend(attributes,URL,true) /> 60 60 <cfset structAppend(attributes,form,true) /> … … 226 226 <cfset myFusebox.trace("Fusebox","Caught Fusebox exception '#cfcatch.type#'") /> 227 227 </cfif> 228 <cfif not isDefined("_fba.errortemplatesPath") or not _fba.handleFuseboxException(cfcatch,attributes,myFusebox)> 228 <cfif not isDefined("_fba.errortemplatesPath") or 229 not _fba.handleFuseboxException(cfcatch,attributes,myFusebox,variables.FUSEBOX_APPLICATION_KEY)> 229 230 <cfrethrow /> 230 231 </cfif> -
framework/trunk/fuseboxApplication.cfc
r255 r258 510 510 <cfargument name="myFusebox" type="any" required="true" 511 511 hint="I am the myFusebox object." /> 512 <cfargument name="appKey" type="string" required="true" 513 hint="I am the application key object." /> 512 514 513 515 <cfset var __handled = false /> … … 516 518 <cfset var __errorFile = this.errortemplatesPath & __type & __ext /> 517 519 <cfset var __handlerExists = fileExists(getApplicationRoot() & __errorFile) /> 518 <cfset var FUSEBOX_APPLICATION_KEY = variables.appKey />520 <cfset var FUSEBOX_APPLICATION_KEY = arguments.appKey /> 519 521 520 522 <cfloop condition="not __handlerExists and len(__type) gt 0">
