Show
Ignore:
Timestamp:
11/03/06 22:30:34 (2 years ago)
Author:
scorfield
Message:

Fixes #153 by passing the application key directly into the exception handler.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • framework/trunk/fusebox5.cfm

    r256 r258  
    5252 
    5353<!--- 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="" /> 
    5555<!--- 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()#" /> 
    5959<cfset structAppend(attributes,URL,true) /> 
    6060<cfset structAppend(attributes,form,true) /> 
     
    226226                <cfset myFusebox.trace("Fusebox","Caught Fusebox exception '#cfcatch.type#'") /> 
    227227        </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)> 
    229230                <cfrethrow />  
    230231        </cfif>