diff --git a/classes/Storage/Driver/S3/S3Storage.php b/classes/Storage/Driver/S3/S3Storage.php index d2bb6ccb..f86c196d 100755 --- a/classes/Storage/Driver/S3/S3Storage.php +++ b/classes/Storage/Driver/S3/S3Storage.php @@ -429,7 +429,7 @@ protected function getS3Client($region = false, $errorCollector = null) { } } - if($this->settings->useTransferAcceleration) { + if($this->settings->useTransferAcceleration && (StorageManager::driver() === 's3')) { $config['use_accelerate_endpoint'] = true; } diff --git a/classes/Storage/Driver/S3/S3StorageSettings.php b/classes/Storage/Driver/S3/S3StorageSettings.php index 3cffb92d..80136936 100755 --- a/classes/Storage/Driver/S3/S3StorageSettings.php +++ b/classes/Storage/Driver/S3/S3StorageSettings.php @@ -122,9 +122,9 @@ public function __get($name) { $storageClass = get_class($this->storage); if ($storageClass::pathStyleEndpoint() !== null) { - $this->_endPointPathStyle = $storageClass::pathStyleEndpoint(); + $this->_pathStyleEndpoint = $storageClass::pathStyleEndpoint(); } else { - $this->_endPointPathStyle = Environment::Option('mcloud-storage-s3-use-path-style-endpoint', ['ILAB_AWS_S3_ENDPOINT_PATH_STYLE', 'ILAB_CLOUD_ENDPOINT_PATH_STYLE'], true); + $this->_pathStyleEndpoint = Environment::Option('mcloud-storage-s3-use-path-style-endpoint', ['ILAB_AWS_S3_ENDPOINT_PATH_STYLE', 'ILAB_CLOUD_ENDPOINT_PATH_STYLE'], true); } return $this->_pathStyleEndpoint; diff --git a/ilab-media-tools.php b/ilab-media-tools.php index 7386e135..d554a4e0 100755 --- a/ilab-media-tools.php +++ b/ilab-media-tools.php @@ -5,7 +5,7 @@ Plugin URI: https://github.com/interfacelab/ilab-media-tools Description: Automatically upload media to Amazon S3 and integrate with Imgix, a real-time image processing CDN. Boosts site performance and simplifies workflows. Author: interfacelab -Version: 3.3.3 +Version: 3.3.4 Author URI: http://interfacelab.io */ // Copyright (c) 2016 Interfacelab LLC. All rights reserved. @@ -93,7 +93,7 @@ } // Version Defines -define( 'MEDIA_CLOUD_VERSION', '3.3.3' ); +define( 'MEDIA_CLOUD_VERSION', '3.3.4' ); define( 'MEDIA_CLOUD_INFO_VERSION', '1.0.0' ); // Directory defines define( 'ILAB_TOOLS_DIR', dirname( __FILE__ ) ); diff --git a/readme.txt b/readme.txt index 4db537e6..61a901e4 100755 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Requires at least: 4.4 Tested up to: 5.3 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html -Stable tag: 3.3.2 +Stable tag: 3.3.4 Requires PHP: 5.6.4 Automatically store media on Amazon S3, Google Cloud Storage, DigitalOcean Spaces + others. Serve CSS/JS assets through CDNs. Integrate with Imgix. @@ -108,6 +108,10 @@ No, I'm just one very enthusiastic customer. == Changelog == += 3.3.4 = + +* Critical fix for Minio, DigitalOcean and other S3 compatible services. + = 3.3.3 = * Fixes for PHP 5.6 - people, it's time to upgrade to PHP 7.x!