Cleanup settings use in panel.
This commit is contained in:
parent
59b50ca75e
commit
1b9b92ac62
9 changed files with 36 additions and 17 deletions
|
@ -1,4 +1,7 @@
|
|||
@include('partials/admin.settings.notice')
|
||||
|
||||
@section('settings::nav')
|
||||
@yield('settings::notice')
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="nav-tabs-custom nav-tabs-floating">
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
@section('settings::notice')
|
||||
@if(config('pterodactyl.load_environment_only', false))
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="alert alert-danger">
|
||||
Your Panel is currently configured to read settings from the environment only. You will need to set <code>LOAD_ENVIRONMENT_ONLY=false</code> in your environment file in order to load settings dynamically.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endsection
|
Reference in a new issue