mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #12095 from mmccall10/fix/s3-compatible-import-action
BugFix: Import Action Look at File System Disk Driver for s3
This commit is contained in:
@@ -349,7 +349,7 @@ trait CanImportRecords
|
||||
{
|
||||
$filePath = $file->getRealPath();
|
||||
|
||||
if (config('filament.default_filesystem_disk') !== 's3') {
|
||||
if (config('filesystems.disks.' . config('filament.default_filesystem_disk') . '.driver') !== 's3') {
|
||||
return fopen($filePath, mode: 'r');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user