aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-08-31 15:28:40 +0200
committerRobin Appelman <robin@icewind.nl>2017-09-18 15:16:28 +0200
commitd526969a686b550248da90257729326b463b167a (patch)
tree98c8824c19f016415ee1c1aa4a023806a7415ec6 /lib
parent9154b27943aa5bd0bc8145abbd4335ed197e308f (diff)
downloadnextcloud-server-d526969a686b550248da90257729326b463b167a.tar.gz
nextcloud-server-d526969a686b550248da90257729326b463b167a.zip
fix path style
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/ObjectStore/S3ConnectionTrait.php4
1 files changed, 1 insertions, 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']];