Fix exists check in KeyStore
This commit is contained in:
@@ -67,7 +67,7 @@ class KeyStore {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// TODO: Replace with async version once available
|
// TODO: Replace with async version once available
|
||||||
if (!file_exists($file)) {
|
if (!file_exists(dirname($file))) {
|
||||||
mkdir(dirname($file), 0755, true);
|
mkdir(dirname($file), 0755, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user