]> source.dussan.org Git - nextcloud-server.git/commitdiff
CURLOPT_SSL_VERIFYPEER=false shouldn't be in master
authorBjoern Schiessle <schiessle@owncloud.com>
Fri, 6 Jul 2012 10:35:29 +0000 (12:35 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 6 Jul 2012 10:35:29 +0000 (12:35 +0200)
apps/files_external/lib/webdav.php

index 7511096f0d949a04074d24e12ca1aefbd820c25c..9b874e62e33495cf0d1e1a44ee94da3c95893443 100644 (file)
@@ -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('');