barryvdh / laravel-elfinder

elFinder bundle for Laravel
738 stars 171 forks source link

local env and production env with s3 #235

Closed og6k closed 6 years ago

og6k commented 6 years ago

This is how my elfinder config file looks like:

'disks' => env('FILESYSTEM_DRIVER', 'null'),

This works for my production site because in filesystems, I have it set to s3 in production env. I don't have filesystem_driver listed in local env at all. When I am in local site, i get a 500 error code.

everything works well in production site.

How can I fix it that nothing changes in local site and have everything work as normal?

og6k commented 6 years ago

ok. in my local env, i set FILESYSTEM_DRIVER=null

that fixed the local problem.