Updated a few flysystem settings
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3c0a6292c4
commit
7a785b4952
2 changed files with 8 additions and 6 deletions
|
@ -13,7 +13,7 @@ $config = [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'default' => env('FILESYSTEM_DISK', 'local'),
|
'default' => env('PRIVATE_FILESYSTEM_DISK', 'local'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -56,7 +56,7 @@ $config = [
|
||||||
'visibility' => 'public',
|
'visibility' => 'public',
|
||||||
],
|
],
|
||||||
|
|
||||||
's3' => [
|
's3_public' => [
|
||||||
'driver' => 's3',
|
'driver' => 's3',
|
||||||
'key' => env('PUBLIC_AWS_ACCESS_KEY_ID'),
|
'key' => env('PUBLIC_AWS_ACCESS_KEY_ID'),
|
||||||
'secret' => env('PUBLIC_AWS_SECRET_ACCESS_KEY'),
|
'secret' => env('PUBLIC_AWS_SECRET_ACCESS_KEY'),
|
||||||
|
@ -68,8 +68,10 @@ $config = [
|
||||||
],
|
],
|
||||||
|
|
||||||
's3_private' => [
|
's3_private' => [
|
||||||
// This bucket (if different than the 's3' bucket above) can be configured within AWS to *never* permit public documents
|
// This bucket (if different than the 's3' bucket above) can be
|
||||||
// For security reasons, its best to use separate buckets for public and private documents in S3
|
// 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',
|
'driver' => 's3',
|
||||||
'key' => env('PRIVATE_AWS_ACCESS_KEY_ID'),
|
'key' => env('PRIVATE_AWS_ACCESS_KEY_ID'),
|
||||||
'secret' => env('PRIVATE_AWS_SECRET_ACCESS_KEY'),
|
'secret' => env('PRIVATE_AWS_SECRET_ACCESS_KEY'),
|
||||||
|
|
|
@ -108,14 +108,14 @@
|
||||||
@if ($snipeSettings->brand == '3')
|
@if ($snipeSettings->brand == '3')
|
||||||
<a class="logo navbar-brand no-hover" href="{{ url('/') }}">
|
<a class="logo navbar-brand no-hover" href="{{ url('/') }}">
|
||||||
@if ($snipeSettings->logo!='')
|
@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
|
@endif
|
||||||
{{ $snipeSettings->site_name }}
|
{{ $snipeSettings->site_name }}
|
||||||
</a>
|
</a>
|
||||||
@elseif ($snipeSettings->brand == '2')
|
@elseif ($snipeSettings->brand == '2')
|
||||||
<a class="logo navbar-brand no-hover" href="{{ url('/') }}">
|
<a class="logo navbar-brand no-hover" href="{{ url('/') }}">
|
||||||
@if ($snipeSettings->logo!='')
|
@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
|
@endif
|
||||||
<span class="sr-only">{{ $snipeSettings->site_name }}</span>
|
<span class="sr-only">{{ $snipeSettings->site_name }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue