Skip to content

Commit

Permalink
[FEATURE] Use proxy settings from TYPO3 for AWS connection
Browse files Browse the repository at this point in the history
Closes: #12
  • Loading branch information
Lagerregal committed Feb 4, 2019
1 parent 8fa866d commit d62503b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/Driver/AmazonS3Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,9 @@ protected function initializeClient()
],
'validation' => false,
];
if (!empty($GLOBALS['TYPO3_CONF_VARS']['HTTP']['proxy'])) {
$configuration['http']['proxy'] = $GLOBALS['TYPO3_CONF_VARS']['HTTP']['proxy'];
}
if (!empty($this->configuration['signature'])) {
$configuration['signature_version'] = $this->configuration['signature_version'];
}
Expand Down

0 comments on commit d62503b

Please sign in to comment.