From e0560f0908e4484270ae32d2cf84750fada6f014 Mon Sep 17 00:00:00 2001 From: Thomas Steinmetz Date: Tue, 20 Jan 2015 14:31:04 -0600 Subject: [PATCH] Removing the call to array_only(...) as it breaks the new AWS S3 v3 LIbs. Passing entire array should keep v2 working as well as allow for v3 to work. --- src/Illuminate/Filesystem/FilesystemManager.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Illuminate/Filesystem/FilesystemManager.php b/src/Illuminate/Filesystem/FilesystemManager.php index 7e53642175ec..a30548eb5978 100644 --- a/src/Illuminate/Filesystem/FilesystemManager.php +++ b/src/Illuminate/Filesystem/FilesystemManager.php @@ -127,10 +127,8 @@ public function createLocalDriver(array $config) */ public function createS3Driver(array $config) { - $s3Config = array_only($config, ['key', 'region', 'secret', 'signature']); - return $this->adapt( - new Flysystem(new S3Adapter(S3Client::factory($s3Config), $config['bucket'])) + new Flysystem(new S3Adapter(S3Client::factory($config), $config['bucket'])) ); }