summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-07-06 12:35:29 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-07-06 12:35:29 +0200
commit963faf64587163d2dbeaf5dc4fd577412a04e0c2 (patch)
tree459fac8bb57775c4f12319075ae004272d2a50a4 /apps/files_external
parentba8dee05209e136a8911862b21ff6ad90d67f149 (diff)
downloadnextcloud-server-963faf64587163d2dbeaf5dc4fd577412a04e0c2.tar.gz
nextcloud-server-963faf64587163d2dbeaf5dc4fd577412a04e0c2.zip
CURLOPT_SSL_VERIFYPEER=false shouldn't be in master
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/webdav.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index 7511096f0d9..9b874e62e33 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -45,8 +45,7 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
$this->client = new OC_Connector_Sabre_Client($settings);
if($caview = \OCP\Files::getStorage('files_external')) {
- $this->client->setCurlSettings(array(CURLOPT_CAPATH => \OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath(""),
- CURLOPT_SSL_VERIFYPEER => false));
+ $this->client->setCurlSettings(array(CURLOPT_CAPATH => \OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("")));
}
//create the root folder if necesary
$this->mkdir('');