Merge remote-tracking branch 'weierophinney/hotfix/event-manager-shared'
authorEvan Coury <me@evancoury.com>
Mon, 23 Apr 2012 20:17:22 +0000 (13:17 -0700)
committerEvan Coury <me@evancoury.com>
Mon, 23 Apr 2012 20:17:22 +0000 (13:17 -0700)
1  2 
public/index.php

@@@ -5,9 -5,10 +5,10 @@@ Zend\Loader\AutoloaderFactory::factory(
  
  $appConfig = include 'config/application.config.php';
  
+ $sharedEvents     = new Zend\EventManager\SharedEventManager();
  $listenerOptions  = new Zend\Module\Listener\ListenerOptions($appConfig['module_listener_options']);
  $defaultListeners = new Zend\Module\Listener\DefaultListenerAggregate($listenerOptions);
 -$defaultListeners->getConfigListener()->addConfigGlobPath("config/autoload/{,*.}{global,local}.config.php");
 +$defaultListeners->getConfigListener()->addConfigGlobPath("config/autoload/*.php");
      
  
  $moduleManager = new Zend\Module\Manager($appConfig['modules']);