1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 15:14:20 +02:00

feat(entries): ensure entries directory exists

This commit is contained in:
Awilum
2021-08-09 13:10:58 +03:00
parent d4099a5bdc
commit 172096052c

View File

@@ -59,6 +59,10 @@ class Entries
$this->registry = arrays();
$this->options = $options;
$this->initFields();
filesystem()
->directory(PATH['project'] . '/entries/' . $options['directory'])
->ensureExists(0755, true);
}
/**