Skip to content
Snippets Groups Projects
Commit 963faf64 authored by Björn Schießle's avatar Björn Schießle
Browse files

CURLOPT_SSL_VERIFYPEER=false shouldn't be in master

parent ba8dee05
No related branches found
No related tags found
No related merge requests found
......@@ -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('');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment