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
Branches
No related tags found
Loading
......@@ -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.
Please register or to comment