mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update packages/actions/src/Concerns/CanImportRecords.php
This commit is contained in:
@@ -398,7 +398,7 @@ trait CanImportRecords
|
||||
|
||||
invade($s3Adapter)->client->registerStreamWrapper(); /** @phpstan-ignore-line */
|
||||
|
||||
$fileS3Path = str_replace('\\','/','s3://' . config("filesystems.disks.{$fileDisk}.bucket") . '/' . $filePath);
|
||||
$fileS3Path = (string) str('s3://' . config("filesystems.disks.{$fileDisk}.bucket") . '/' . $filePath)->replace('\\', '/');
|
||||
|
||||
$resource = fopen($fileS3Path, mode: 'r', context: stream_context_create([
|
||||
's3' => [
|
||||
|
||||
Reference in New Issue
Block a user