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 179
179
180
180
@if ($_SERVER [' QUERY_STRING' ] === ' finishing' )
181
181
<?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
+ ? >
182
191
<div class =" logo-container fadein" >
183
192
<img class =" logo-img loading" src =" {{ asset (' littlelink/images/just-gear.svg' ) } }" alt =" Logo" >
184
193
<div class =" logo-centered" >l</div >
188
197
@include (' components.finishing' )
189
198
190
199
<?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
+ ? >
191
207
@endif
192
208
193
209
@if ($_SERVER [' QUERY_STRING' ] === ' success' )
You can’t perform that action at this time.
0 commit comments