fix path style

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-08-31 15:28:40 +02:00
parent d97f66454c
commit d26951beb4
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
1 changed files with 1 additions and 3 deletions

View File

@ -83,9 +83,7 @@ trait S3ConnectionTrait {
], ],
'endpoint' => $base_url, 'endpoint' => $base_url,
'region' => $this->params['region'], 'region' => $this->params['region'],
'command.params' => [ 'use_path_style_endpoint' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false
'PathStyle' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false,
]
]; ];
if (isset($this->params['proxy'])) { if (isset($this->params['proxy'])) {
$options['request.options'] = ['proxy' => $this->params['proxy']]; $options['request.options'] = ['proxy' => $this->params['proxy']];