typo . fixes #142

This commit is contained in:
Chris H
2023-01-13 09:01:37 +01:00
parent 72394f17ba
commit 9a4a20fb41

View File

@@ -16,7 +16,7 @@ class S3Storage implements StorageController
require_once(ROOT.DS.'storage-controllers'.DS.'s3'.DS.'aws-autoloader.php');
$this->s3 = new Aws\S3\S3Client([
'version' => 'latest',
'region' => (is_defined('S3_REGION') && S3_REGION ?S3_REGION:'us-east-1'),
'region' => (defined('S3_REGION') && S3_REGION ?S3_REGION:'us-east-1'),
'endpoint' => S3_ENDPOINT,
'use_path_style_endpoint' => true,
'credentials' => [