This commit is contained in:
flash 2018-09-16 01:28:42 +02:00
parent bce19a2ed6
commit b82e51b38e

View file

@ -153,7 +153,7 @@ class Application extends ApplicationBase
if (array_key_exists('Storage', $this->config)) { if (array_key_exists('Storage', $this->config)) {
try { try {
return new Directory($this->config['Storage'][$override_key]); return new Directory($this->config['Storage'][$override_key] ?? '');
} catch (DirectoryDoesNotExistException $ex) { } catch (DirectoryDoesNotExistException $ex) {
// fall through and just get the default path. // fall through and just get the default path.
} }