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

close file after write process

parent e91b4bc2
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ if (!strpos($data, 'BEGIN CERTIFICATE')) {
$pem = "-----BEGIN CERTIFICATE-----\n".$pem."-----END CERTIFICATE-----\n";
$fh = fopen($to, 'w');
fwrite($fh, $pem);
fclose($fh);
}
OC_Mount_Config::createCertificateBundle();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment