I think so. If you don't need to make such decisions based on config, you can do it early in a module implementing the init method ( https://github.com/zendframework/zf2/blob/master/library/Zend/ModuleManager/Feature/InitProviderInterface.php) Marco Pivetta
http://twitter.com/Ocramius http://marco-pivetta.com On 13 August 2012 11:53, Ralf Eggert <r.egg...@travello.de> wrote: > Hi, > > Marco Pivetta schrieb am 13.08.2012 11:37: > > ZF2 doesn't modify the environment anymore. You'd probably want to handle > > this somewhere early in your bootstrap process... > > Ok, so will \Application\Module::onBootstrap() be the right place for > application wide settings and \Whatever\Module::onBootstrap() to > activate error display only for a Whatever module? > > Thanks and best regards, > > Ralf > > -- > List: fw-general@lists.zend.com > Info: http://framework.zend.com/archives > Unsubscribe: fw-general-unsubscr...@lists.zend.com > > >