mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-20 13:17:26 +02:00
Enabled debugging while updating
This commit is contained in:
parent
b708ba2c30
commit
c52dd49239
@ -179,6 +179,15 @@ exit(); ?>
|
|||||||
|
|
||||||
@if($_SERVER['QUERY_STRING'] === 'finishing')
|
@if($_SERVER['QUERY_STRING'] === 'finishing')
|
||||||
<?php //finishing up update ?>
|
<?php //finishing up update ?>
|
||||||
|
<?php
|
||||||
|
$debug = NULL;
|
||||||
|
if(EnvEditor::getKey('APP_DEBUG') == 'false'){
|
||||||
|
if(EnvEditor::keyExists('APP_DEBUG')){EnvEditor::editKey('APP_DEBUG', 'true');}
|
||||||
|
if(EnvEditor::keyExists('APP_ENV')){EnvEditor::editKey('APP_ENV', 'local');}
|
||||||
|
if(EnvEditor::keyExists('LOG_LEVEL')){EnvEditor::editKey('LOG_LEVEL', 'debug');}
|
||||||
|
$debug = true;
|
||||||
|
}
|
||||||
|
?>
|
||||||
<div class="logo-container fadein">
|
<div class="logo-container fadein">
|
||||||
<img class="logo-img loading" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="Logo">
|
<img class="logo-img loading" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="Logo">
|
||||||
<div class="logo-centered">l</div>
|
<div class="logo-centered">l</div>
|
||||||
@ -188,6 +197,13 @@ exit(); ?>
|
|||||||
@include('components.finishing')
|
@include('components.finishing')
|
||||||
|
|
||||||
<?php if(file_exists(base_path("storage/MAINTENANCE"))){unlink(base_path("storage/MAINTENANCE"));} ?>
|
<?php if(file_exists(base_path("storage/MAINTENANCE"))){unlink(base_path("storage/MAINTENANCE"));} ?>
|
||||||
|
<?php
|
||||||
|
if($debug === true){
|
||||||
|
if(EnvEditor::keyExists('APP_DEBUG')){EnvEditor::editKey('APP_DEBUG', 'false');}
|
||||||
|
if(EnvEditor::keyExists('APP_ENV')){EnvEditor::editKey('APP_ENV', 'production');}
|
||||||
|
if(EnvEditor::keyExists('LOG_LEVEL')){EnvEditor::editKey('LOG_LEVEL', 'error');}
|
||||||
|
}
|
||||||
|
?>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if($_SERVER['QUERY_STRING'] === 'success')
|
@if($_SERVER['QUERY_STRING'] === 'success')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user