mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-14 12:08:01 +00:00
Update s3.controller.php
This commit is contained in:
@@ -16,7 +16,7 @@ class S3Storage implements StorageController
|
|||||||
require_once(ROOT.DS.'storage-controllers'.DS.'s3'.DS.'aws-autoloader.php');
|
require_once(ROOT.DS.'storage-controllers'.DS.'s3'.DS.'aws-autoloader.php');
|
||||||
$this->s3 = new Aws\S3\S3Client([
|
$this->s3 = new Aws\S3\S3Client([
|
||||||
'version' => 'latest',
|
'version' => 'latest',
|
||||||
'region' => S3_REGION,
|
'region' => (is_defined('S3_REGION') && S3_REGION ?S3_REGION:'us-east-1'),
|
||||||
'endpoint' => S3_ENDPOINT,
|
'endpoint' => S3_ENDPOINT,
|
||||||
'use_path_style_endpoint' => true,
|
'use_path_style_endpoint' => true,
|
||||||
'credentials' => [
|
'credentials' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user