From d26951beb496c2b39643e7a4793f1eeb0e51556b Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 31 Aug 2017 15:28:40 +0200 Subject: [PATCH] fix path style Signed-off-by: Robin Appelman --- lib/private/Files/ObjectStore/S3ConnectionTrait.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index f665bc2e7ce..fdda19ff700 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -83,9 +83,7 @@ trait S3ConnectionTrait { ], 'endpoint' => $base_url, 'region' => $this->params['region'], - 'command.params' => [ - 'PathStyle' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false, - ] + 'use_path_style_endpoint' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false ]; if (isset($this->params['proxy'])) { $options['request.options'] = ['proxy' => $this->params['proxy']];