mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Handle missing Flysystem env vars; let Debugbar autodiscover (#6514)
This commit is contained in:
parent
1fdb057199
commit
89a325c0ea
|
@ -250,7 +250,7 @@ return [
|
|||
* Package Service Providers...
|
||||
*/
|
||||
|
||||
Barryvdh\Debugbar\ServiceProvider::class,
|
||||
// Barryvdh\Debugbar\ServiceProvider::class, // should be auto-discovered
|
||||
Intervention\Image\ImageServiceProvider::class,
|
||||
Collective\Html\HtmlServiceProvider::class,
|
||||
Spatie\Backup\BackupServiceProvider::class,
|
||||
|
@ -330,7 +330,7 @@ return [
|
|||
'Form' => Collective\Html\FormFacade::class,
|
||||
'Html' => Collective\Html\HtmlFacade::class,
|
||||
'Google2FA' => PragmaRX\Google2FALaravel\Facade::class,
|
||||
'Debugbar' => Barryvdh\Debugbar\Facade::class,
|
||||
// 'Debugbar' => Barryvdh\Debugbar\Facade::class, //autodiscover should handle this
|
||||
'Image' => Intervention\Image\ImageManagerStatic::class,
|
||||
'Carbon' => Carbon\Carbon::class,
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ $config = [
|
|||
];
|
||||
|
||||
// When you're dealing with local file storage, the paths will be different than S3
|
||||
if (env('FILESYSTEM_DISK')!='local')
|
||||
if (env('FILESYSTEM_DISK','local')!='local')
|
||||
{
|
||||
$config['disks']['public'] = $config['disks'][env('FILESYSTEM_DISK')];
|
||||
$config['disks']['public']['visibility'] = 'public';
|
||||
|
|
Loading…
Reference in a new issue