summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2013-10-22 13:34:24 +0200
committerChristian Berendt <berendt@b1-systems.de>2013-10-22 13:34:24 +0200
commitf0d04f3ac6b2c4c01a80ffc9b77c83028d4e91d9 (patch)
tree6fc797a132fe4f5129ba456a9e0c5075991c7df5 /apps/files_external/lib
parent67779680a67f88c9ff4017ca91fa952dab0946b2 (diff)
downloadnextcloud-server-f0d04f3ac6b2c4c01a80ffc9b77c83028d4e91d9.tar.gz
nextcloud-server-f0d04f3ac6b2c4c01a80ffc9b77c83028d4e91d9.zip
adjustment of the configuration parameters
Diffstat (limited to 'apps/files_external/lib')
-rwxr-xr-xapps/files_external/lib/config.php23
1 files changed, 15 insertions, 8 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 659959e662e..65d541c4b16 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -84,14 +84,21 @@ class OC_Mount_Config {
'token' => '#token'),
'custom' => 'google');
- $backends['\OC\Files\Storage\SWIFT']=array(
- 'backend' => 'OpenStack Swift',
- 'configuration' => array(
- 'host' => 'URL',
- 'user' => 'Username',
- 'token' => '*Token',
- 'root' => '&Root',
- 'secure' => '!Secure ftps://'));
+ if(OC_Mount_Config::checkcurl()) {
+ $backends['\OC\Files\Storage\Swift'] = array(
+ 'backend' => 'OpenStack Object Storage',
+ 'configuration' => array(
+ 'user' => 'Username',
+ 'bucket' => 'Bucket',
+ 'region' => 'Region',
+ 'key' => '*API Key (Rackspace Cloud Files)',
+ 'tenant' => 'Tenantname (OpenStack Object Storage)',
+ 'password' => '*Password (OpenStack Object Storage)',
+ 'service_name' => 'Service Name (OpenStack Object Storage)',
+ 'url' => 'URL of identity endpoint (OpenStack Object Storage)'
+ )
+ );
+ }
if (!OC_Util::runningOnWindows()) {
if (OC_Mount_Config::checksmbclient()) {