mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(proxy): use accessor
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
This commit is contained in:
parent
547438527d
commit
388a458cd5
1 changed files with 2 additions and 2 deletions
|
|
@ -130,8 +130,8 @@ trait S3ConnectionTrait {
|
|||
'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()),
|
||||
'csm' => false,
|
||||
];
|
||||
if (isset($this->params['proxy'])) {
|
||||
$options['http'] = [ 'proxy' => $this->params['proxy'] ];
|
||||
if ($this->getProxy()) {
|
||||
$options['http'] = [ 'proxy' => $this->getProxy() ];
|
||||
}
|
||||
if (isset($this->params['legacy_auth']) && $this->params['legacy_auth']) {
|
||||
$options['signature_version'] = 'v2';
|
||||
|
|
|
|||
Loading…
Reference in a new issue