UniSharp / laravel-filemanager

Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.
https://unisharp.github.io/laravel-filemanager/
MIT License
2.04k stars 719 forks source link

Use Laravel's built in filesystem abstraction #1221

Open terrafrost opened 3 months ago

terrafrost commented 3 months ago

In my .env I have FILESYSTEM_DISK=s3 and when I do Storage::put('filename.txt', 'zzz') through php artisan tinker filename.txt is created on my S3 bucket as I'd expect.

laravel-filemanager, otoh, does not appear to use Laravel's build in filesystem abstraction. Case in point: in spite of what FILESYSTEM_DISK is set to creating a new directory created the new directory on the local filesystem vs in my S3 bucket.