mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-19 06:28:01 +00:00
finally removed the static s3php files and replaced with composer
This commit is contained in:
@@ -13,7 +13,7 @@ class S3Storage implements StorageController
|
||||
{
|
||||
private $s3;
|
||||
function connect(){
|
||||
require_once(ROOT.DS.'storage-controllers'.DS.'s3'.DS.'aws-autoloader.php');
|
||||
|
||||
$this->s3 = new Aws\S3\S3Client([
|
||||
'version' => 'latest',
|
||||
'region' => (defined('S3_REGION') && S3_REGION ?S3_REGION:'us-east-1'),
|
||||
|
||||
Reference in New Issue
Block a user