LegacyStorage: "feature request" note

This commit is contained in:
Thomas Gelf 2014-11-30 16:06:48 +01:00
parent d1739e171f
commit a54f140fc8

View file

@ -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))) {