|
|
|
|
@ -43,13 +43,13 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{ |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
$this->client = new OC_Connector_Sabre_Client($settings); |
|
|
|
|
/* |
|
|
|
|
|
|
|
|
|
if($caview = \OCP\Files::getStorage('files_external')) { |
|
|
|
|
$certPath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("").'rootcerts.crt'; |
|
|
|
|
if (file_exists($certPath)) { |
|
|
|
|
$this->client->addTrustedCertificates($certPath); |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
} |
|
|
|
|
//create the root folder if necesary |
|
|
|
|
$this->mkdir(''); |
|
|
|
|
} |
|
|
|
|
|