Fix exists check in KeyStore

This commit is contained in:
Niklas Keller
2016-03-12 17:52:03 +01:00
parent 8782c1e0b1
commit 4184b074c4

View File

@@ -67,7 +67,7 @@ class KeyStore {
try {
// TODO: Replace with async version once available
if (!file_exists($file)) {
if (!file_exists(dirname($file))) {
mkdir(dirname($file), 0755, true);
}