mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-07 14:09:35 -05:00
LegacyStorage: "feature request" note
This commit is contained in:
parent
d1739e171f
commit
a54f140fc8
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ class LegacyStorage extends Storage
|
|||
->getModuleManager()
|
||||
->getModule('businessprocess')
|
||||
->getConfigDir();
|
||||
|
||||
// TODO: This is silly. We need Config::requireDirectory().
|
||||
if (! is_dir($dir)) {
|
||||
if (! is_dir(dirname($dir))) {
|
||||
if (! @mkdir(dirname($dir))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue