1
0
Fork 0

Only load configuration into IO if IO is available

pull/7937/head
Arnout Boks 2019-01-31 09:37:28 +01:00
parent d1ce9f6246
commit e151a6c51c
1 changed files with 3 additions and 1 deletions

View File

@ -93,7 +93,9 @@ class RepositoryFactory
{
if (!$config) {
$config = Factory::createConfig($io);
$io->loadConfiguration($config);
if ($io) {
$io->loadConfiguration($config);
}
}
if (!$rm) {
if (!$io) {