File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ - AWS S3: added ` pathStyleEndpoint ` to allow the use of https://www.minio.io/ as storage service
4+
35## 0.9.1
46
57- all adapters: added getter for native filesystem ` getFilesystem() `
Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ class AwsS3Filesystem extends Filesystem
4646 * @var string|null
4747 */
4848 public $ prefix ;
49+ /**
50+ * @var bool
51+ */
52+ public $ pathStyleEndpoint = false ;
4953 /**
5054 * @var array
5155 */
@@ -87,6 +91,10 @@ protected function prepareAdapter()
8791 ]
8892 ];
8993
94+ if ($ this ->pathStyleEndpoint === true ) {
95+ $ config ['use_path_style_endpoint ' ] = true ;
96+ }
97+
9098 if ($ this ->region !== null ) {
9199 $ config ['region ' ] = $ this ->region ;
92100 }
You can’t perform that action at this time.
0 commit comments