Permalink
Browse files

application/bootstrap, not bootstrap/bootstrap

  • Loading branch information...
1 parent 576335e commit 6d68dfa423bf05b8e438d09138c128162e044c03 @bjyoungblood bjyoungblood committed May 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ZfcBase/Module/ModuleAbstract.php
@@ -23,7 +23,7 @@ public function init(ModuleManager $moduleManager)
{
$events = $moduleManager->events()->getSharedManager();
$instance = $this;//TODO this will no be needed in PHP 5.4
- $events->attach('bootstrap', 'bootstrap', function($e) use ($instance, $moduleManager) {
+ $events->attach('application', 'bootstrap', function($e) use ($instance, $moduleManager) {
$app = $e->getParam('application');
$instance->setMergedConfig($e->getParam('config'));
$instance->bootstrap($moduleManager, $app);

0 comments on commit 6d68dfa

Please sign in to comment.