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/fuseboxApplication.cfc

    r255 r258  
    510510                <cfargument name="myFusebox" type="any" required="true"  
    511511                                        hint="I am the myFusebox object." /> 
     512                <cfargument name="appKey" type="string" required="true"  
     513                                        hint="I am the application key object." /> 
    512514                 
    513515                <cfset var __handled = false /> 
     
    516518                <cfset var __errorFile = this.errortemplatesPath & __type & __ext /> 
    517519                <cfset var __handlerExists = fileExists(getApplicationRoot() & __errorFile) /> 
    518                 <cfset var FUSEBOX_APPLICATION_KEY = variables.appKey /> 
     520                <cfset var FUSEBOX_APPLICATION_KEY = arguments.appKey /> 
    519521                 
    520522                <cfloop condition="not __handlerExists and len(__type) gt 0">