mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Merge pull request #6899 from nextcloud/enh/noid/allow-multibucket-s3-config
nextcloud-s3-config: allow multibucket config
This commit is contained in:
commit
b807a2c754
1 changed files with 2 additions and 1 deletions
|
|
@ -4,8 +4,9 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
|
|||
$use_path = getenv('OBJECTSTORE_S3_USEPATH_STYLE');
|
||||
$use_legacyauth = getenv('OBJECTSTORE_S3_LEGACYAUTH');
|
||||
$autocreate = getenv('OBJECTSTORE_S3_AUTOCREATE');
|
||||
$multibucket = getenv('OBJECTSTORE_S3_MULTIBUCKET');
|
||||
$CONFIG = array(
|
||||
'objectstore' => array(
|
||||
$multibucket === 'true' ? 'objectstore_multibucket' : 'objectstore' => array(
|
||||
'class' => '\OC\Files\ObjectStore\S3',
|
||||
'arguments' => array(
|
||||
'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue