mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Updated a few flysystem settings
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3c0a6292c4
commit
7a785b4952
|
@ -13,7 +13,7 @@ $config = [
|
|||
|
|
||||
*/
|
||||
|
||||
'default' => env('FILESYSTEM_DISK', 'local'),
|
||||
'default' => env('PRIVATE_FILESYSTEM_DISK', 'local'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -56,7 +56,7 @@ $config = [
|
|||
'visibility' => 'public',
|
||||
],
|
||||
|
||||
's3' => [
|
||||
's3_public' => [
|
||||
'driver' => 's3',
|
||||
'key' => env('PUBLIC_AWS_ACCESS_KEY_ID'),
|
||||
'secret' => env('PUBLIC_AWS_SECRET_ACCESS_KEY'),
|
||||
|
@ -68,8 +68,10 @@ $config = [
|
|||
],
|
||||
|
||||
's3_private' => [
|
||||
// This bucket (if different than the 's3' bucket above) can be configured within AWS to *never* permit public documents
|
||||
// For security reasons, its best to use separate buckets for public and private documents in S3
|
||||
// This bucket (if different than the 's3' bucket above) can be
|
||||
// configured within AWS to *never* permit public documents
|
||||
// For security reasons, its best to use separate buckets for
|
||||
// public and private documents in S3
|
||||
'driver' => 's3',
|
||||
'key' => env('PRIVATE_AWS_ACCESS_KEY_ID'),
|
||||
'secret' => env('PRIVATE_AWS_SECRET_ACCESS_KEY'),
|
||||
|
|
|
@ -108,14 +108,14 @@
|
|||
@if ($snipeSettings->brand == '3')
|
||||
<a class="logo navbar-brand no-hover" href="{{ url('/') }}">
|
||||
@if ($snipeSettings->logo!='')
|
||||
<img class="navbar-brand-img" src="{{ Storage::disk('public')->url('').e($snipeSettings->logo) }}" alt="{{ $snipeSettings->site_name }} logo">
|
||||
<img class="navbar-brand-img" src="{{ Storage::disk('public')->url('/').e($snipeSettings->logo) }}" alt="{{ $snipeSettings->site_name }} logo">
|
||||
@endif
|
||||
{{ $snipeSettings->site_name }}
|
||||
</a>
|
||||
@elseif ($snipeSettings->brand == '2')
|
||||
<a class="logo navbar-brand no-hover" href="{{ url('/') }}">
|
||||
@if ($snipeSettings->logo!='')
|
||||
<img class="navbar-brand-img" src="{{ Storage::disk('public')->url('').e($snipeSettings->logo) }}" alt="{{ $snipeSettings->site_name }} logo">
|
||||
<img class="navbar-brand-img" src="{{ Storage::disk('public')->url('/').e($snipeSettings->logo) }}" alt="{{ $snipeSettings->site_name }} logo">
|
||||
@endif
|
||||
<span class="sr-only">{{ $snipeSettings->site_name }}</span>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue