File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ component output="false" {
5353 // Put environment vars into env struct
5454 if ( ! structKeyExists (this ," env" ) ) {
5555 this .env = {};
56- envFilePath = this .appDir & " .env" ;
56+ envFilePath = this .appDir & " ../. env" ;
5757 if (fileExists (envFilePath )) {
5858 envStruct = {};
5959
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ component output="false" displayName="Controller" extends="wheels.Global"{
132132 && StructKeyExists (application , " wheels" )
133133 && StructKeyExists (application .wheels , " viewPath" )
134134 ) {
135- include " / wheels/tests/_assets/views /helpers.cfm" ;
135+ include " # application . wheels . viewPath # /helpers.cfm" ;
136136 }
137137
138138 /**
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ component output="false" {
161161 }
162162 }
163163
164- public void function $location (boolean delay ){
164+ public void function $location (boolean delay = false ){
165165 StructDelete (arguments , " $args" , false );
166166 if (NOT arguments .delay ){
167167 StructDelete (arguments , " delay" , false );
Original file line number Diff line number Diff line change 9191 </cfif >
9292 <!--- always skip cause since it's just a copy of rootCause anyway --->
9393 <cfset local .skip = ListAppend (local .skip , " exception.cause" ) >
94+ <cfset local .scopeMap = {
95+ " CGI" : CGI ,
96+ " Form" : Form ,
97+ " URL" : URL ,
98+ " Application" : Application ,
99+ " Session" : Session ,
100+ " Request" : Request ,
101+ " Cookie" : Cookie ,
102+ " Arguments.Exception" : Arguments .Exception
103+ } >
94104 <h1 >Details</h1 >
95105 <cfloop list =" #local .scopes #" index =" local.i" >
96106 <cfset local .scopeName = ListLast (local .i , " ." ) >
97107 <cfif NOT ListFindNoCase (local .skip , local .scopeName ) AND IsDefined (local .scopeName ) >
98108 <cftry >
99- <cfset local .scope = Evaluate ( local .i ) >
109+ <cfset local .scope = local .scopeMap [ local . i ] >
100110 <cfif IsStruct (local .scope ) >
101111 <p >
102112 <strong >#local .scopeName #</strong >
You can’t perform that action at this time.
0 commit comments