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:
@@ -59,6 +59,10 @@ class Entries
|
||||
$this->registry = arrays();
|
||||
$this->options = $options;
|
||||
$this->initFields();
|
||||
|
||||
filesystem()
|
||||
->directory(PATH['project'] . '/entries/' . $options['directory'])
|
||||
->ensureExists(0755, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user