Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Previous vpath adapter is replaced by use_path_style_endpoint in clie…
Browse files Browse the repository at this point in the history
…nt config (for custom url)
  • Loading branch information
cdujeu committed Jul 6, 2017
1 parent dcd30c5 commit f125c09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/plugins/access.s3/S3AccessWrapper.php
Expand Up @@ -104,6 +104,7 @@ protected static function getClientForContext(ContextInterface $ctx, $registerSt
$baseURL = $repoObject->getContextOption($ctx, "STORAGE_URL");
if (!empty($baseURL)) {
$config["endpoint"] = $baseURL;
$config["use_path_style_endpoint"] = true;
}
require_once("S3Client.php");
$s3Client = new S3Client($config, $repoObject->getId());
Expand Down

0 comments on commit f125c09

Please sign in to comment.