diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php index b30e121f99bbc5507f659eabe1fa0f75d6a48574..3d13518f57b941159dc7299c6e55e453d62b17c4 100644 --- a/apps/files_external/lib/webdav.php +++ b/apps/files_external/lib/webdav.php @@ -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(''); }