summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/webdav.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-07-05 11:28:32 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-07-05 11:28:32 +0200
commitf86ecb3bf7af9e41d5d3b041ea5ee1bf4fbeb634 (patch)
tree10e15bf0ee3e7b093693802844796140d9543f2f /apps/files_external/lib/webdav.php
parent9d00f4d2fb0c881eadfedc5de6537da4133eda7b (diff)
downloadnextcloud-server-f86ecb3bf7af9e41d5d3b041ea5ee1bf4fbeb634.tar.gz
nextcloud-server-f86ecb3bf7af9e41d5d3b041ea5ee1bf4fbeb634.zip
send ca cert path to sabredav client
Diffstat (limited to 'apps/files_external/lib/webdav.php')
-rw-r--r--apps/files_external/lib/webdav.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index dda8afe9f2a..097ff3c0162 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -36,10 +36,13 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
$this->root.='/';
}
+ $caview = \OCP\Files::getStorage('files_external');
+ $capath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("");
$settings = array(
'baseUri' => $this->createBaseUri(),
'userName' => $this->user,
'password' => $this->password,
+ 'capath' => $capath,
);
$this->client = new Sabre_DAV_Client($settings);