add message if install.lock isnt created

This commit is contained in:
1Day 2022-01-25 07:29:48 +01:00
parent 8235eaf903
commit b1d5489130
2 changed files with 10 additions and 3 deletions

View file

@ -19,7 +19,13 @@
</div>
</section>
<!-- END CONTENT HEADER -->
@if(!file_exists(public_path()."/install/install.lock"))
<div class="callout callout-danger">
<h4>{{ __('The installer is not locked!') }}</h4>
<p>{{ __('please create a file called "install.lock" in your "dashboard/public/installer" directory!') }}</p>
<p>{{ __('otherwise no settings will be loaded!') }}</p>
</div>
@endif
<!-- MAIN CONTENT -->
<section class="content">
<div class="container-fluid">

View file

@ -21,8 +21,9 @@
@if(!file_exists(public_path()."/install/install.lock") && Auth::User()->role == "admin")
<div class="callout callout-danger">
<h4>{{ __('The installer is not locked!') }}</h4>
<p>{{ __('please create a file called "installer.lock" in your "dashboard/public/installer" directory!') }}
</p>
<p>{{ __('please create a file called "install.lock" in your "dashboard/public/installer" directory!') }}</p>
<p>{{ __('otherwise no settings will be loaded!') }}</p>
</div>
@endif
<!-- MAIN CONTENT -->