Skip to content

A free open source IT asset/license management system

Handle missing Flysystem env vars; let Debugbar autodiscover (#6514)

Brady Wetherington89a325c0ea5e
diff --git a/config/app.php b/config/app.php
index d55b96eeee..3967fa0024 100755
--- a/config/app.php
+++ b/config/app.php
@@ -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,
diff --git a/config/filesystems.php b/config/filesystems.php
index dd64eda585..c894b6239d 100644
--- a/config/filesystems.php
+++ b/config/filesystems.php
@@ -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';