Skip to content

Commit

Permalink
update configuration reader to use v3 of league flysytem (#485)
Browse files Browse the repository at this point in the history
Co-authored-by: justin <[email protected]>
  • Loading branch information
Justin-Jordan and JUSTNAMNORI authored Aug 14, 2022
1 parent 7106047 commit 5964177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Configuration/ElFinderConfigurationReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Spatie\FlysystemDropbox\DropboxAdapter;
use League\Flysystem\Sftp\SftpAdapter;
use League\Flysystem\AwsS3v2\AwsS3Adapter as AwsS3v2;
use League\Flysystem\AwsS3v3\AwsS3Adapter as AwsS3v3;
use League\Flysystem\AwsS3v3\AwsS3v3Adapter as AwsS3v3;
use League\Flysystem\GridFS\GridFSAdapter;
use OpenCloud\Rackspace;
use League\Flysystem\Rackspace\RackspaceAdapter;
Expand Down Expand Up @@ -242,7 +242,7 @@ private function configureFlysystem($opt, $adapter, $serviceName)
'endpoint' => $opt['aws_s3_v3']['endpoint'],
'use_path_style_endpoint' => $opt['aws_s3_v3']['use_path_style_endpoint'],
]);
$filesystem = new Filesystem(new AwsS3v3($client, $opt['aws_s3_v3']['bucket_name'], $opt['aws_s3_v3']['optional_prefix'], $opt['aws_s3_v3']['options']));
$filesystem = new Filesystem(new AwsS3v3($client, $opt['aws_s3_v3']['bucket_name'], $opt['aws_s3_v3']['optional_prefix'], null, null, $opt['aws_s3_v3']['options']));

break;
case 'copy_com':
Expand Down

0 comments on commit 5964177

Please sign in to comment.