diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-10-27 14:15:59 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-11-14 15:10:56 +0100 |
commit | 4a9361905d9013c7132d3226c921ce6d995b36e4 (patch) | |
tree | d9dab336c8d0c4ab7dd389016b89f763e69a204a /config | |
parent | cebb68992509215163f6776b76e48411a31a287e (diff) | |
download | nextcloud-server-4a9361905d9013c7132d3226c921ce6d995b36e4.tar.gz nextcloud-server-4a9361905d9013c7132d3226c921ce6d995b36e4.zip |
make object prefix configurable
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index fc52edbc778..e95e99e229a 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1005,9 +1005,9 @@ $CONFIG = array( * * One way to test is applying for a trystack account at http://trystack.org/ */ -'objectstore' => array( +'objectstore' => [ 'class' => 'OC\\Files\\ObjectStore\\Swift', - 'arguments' => array( + 'arguments' => [ // trystack will user your facebook id as the user name 'username' => 'facebook100000123456789', // in the trystack dashboard go to user -> settings -> API Password to @@ -1015,6 +1015,8 @@ $CONFIG = array( 'password' => 'Secr3tPaSSWoRdt7', // must already exist in the objectstore, name can be different 'container' => 'nextcloud', + // prefix to prepend to the fileid, default is 'oid:urn:' + 'objectPrefix' => 'oid:urn:', // create the container if it does not exist. default is false 'autocreate' => true, // required, dev-/trystack defaults to 'RegionOne' @@ -1028,8 +1030,8 @@ $CONFIG = array( 'serviceName' => 'swift', // The Interface / url Type, optional 'urlType' => 'internal' - ), -), + ], +], /** |