Index: branches/5.0.x/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -r13274 -r13279 --- branches/5.0.x/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 13274) +++ branches/5.0.x/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 13279) @@ -1,6 +1,6 @@ Application->HandleEvent( new kEvent($prefix . ':OnAfterConfigRead') ); - array_push($this->AfterConfigProcessed, $prefix); + + if (!(defined('IS_INSTALL') && IS_INSTALL)) { + // allow to call OnAfterConfigRead multiple times during install + array_push($this->AfterConfigProcessed, $prefix); + } } /**