Cleanup settings use in panel.

This commit is contained in:
Dane Everitt 2017-12-30 16:33:00 -06:00
parent 59b50ca75e
commit 1b9b92ac62
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
9 changed files with 36 additions and 17 deletions

View file

@ -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">

View file

@ -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