mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
CURLOPT_SSL_VERIFYPEER=false shouldn't be in master
This commit is contained in:
parent
ba8dee0520
commit
963faf6458
1 changed files with 1 additions and 2 deletions
|
|
@ -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('');
|
||||
|
|
|
|||
Loading…
Reference in a new issue