mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Cleanup settings use in panel.
This commit is contained in:
@@ -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 New Issue
Block a user