PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/base/services/s3.php +5 -0 1.4.1 → 1.4.2 View file →
@@ -1458,5 +1458,10 @@
1458 1458 $region = isset($this->config['region']) ? $this->config['region'] : '';
1459 1459 return "https://{$this->bucket_name}.s3.{$region}.amazonaws.com";
1460 1460 }
1461 1461
1462 + /** Exposes the already-constructed SDK client for StreamWrapper's registration — avoids reconstructing one from credentials. */
1463 + public function get_client() {
1464 + return $this->s3Client;
1465 + }
1466 +
1462 1467 }