File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 179179
180180@if ($_SERVER [' QUERY_STRING' ] === ' finishing' )
181181<?php // finishing up update ? >
182+ <?php
183+ $debug = NULL ;
184+ if (EnvEditor:: getKey (' APP_DEBUG' ) == ' false' ){
185+ if (EnvEditor:: keyExists (' APP_DEBUG' )){EnvEditor:: editKey (' APP_DEBUG' , ' true' );}
186+ if (EnvEditor:: keyExists (' APP_ENV' )){EnvEditor:: editKey (' APP_ENV' , ' local' );}
187+ if (EnvEditor:: keyExists (' LOG_LEVEL' )){EnvEditor:: editKey (' LOG_LEVEL' , ' debug' );}
188+ $debug = true ;
189+ }
190+ ? >
182191 <div class =" logo-container fadein" >
183192 <img class =" logo-img loading" src =" {{ asset (' littlelink/images/just-gear.svg' ) } }" alt =" Logo" >
184193 <div class =" logo-centered" >l</div >
188197 @include (' components.finishing' )
189198
190199 <?php if (file_exists (base_path (" storage/MAINTENANCE" ))){unlink (base_path (" storage/MAINTENANCE" ));} ? >
200+ <?php
201+ if ($debug === true ){
202+ if (EnvEditor:: keyExists (' APP_DEBUG' )){EnvEditor:: editKey (' APP_DEBUG' , ' false' );}
203+ if (EnvEditor:: keyExists (' APP_ENV' )){EnvEditor:: editKey (' APP_ENV' , ' production' );}
204+ if (EnvEditor:: keyExists (' LOG_LEVEL' )){EnvEditor:: editKey (' LOG_LEVEL' , ' error' );}
205+ }
206+ ? >
191207@endif
192208
193209@if ($_SERVER [' QUERY_STRING' ] === ' success' )
You can’t perform that action at this time.
0 commit comments