prevent merging two module config in Zend Framework 2
问题 I have two module in my ZF2 application, both module have different configuration for themself, and both module have different Module.php with different configruation inside it. I have a login process for Admin, which is defined in Module.php like below: in onBootstrap funtion: public function onBootstrap($e) { $e->getApplication()->getEventManager()->getSharedManager()->attach('Zend\Mvc\Controller\AbstractActionController', 'dispatch', function($e) { $controller = $e->getTarget();