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:
Dan Harrin
2024-03-29 23:10:23 +00:00
committed by GitHub
@@ -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');
}