Merge remote-tracking branch 'Xerkus/hotfix/glob-path'
authorEvan Coury <me@evancoury.com>
Wed, 7 Mar 2012 09:32:53 +0000 (02:32 -0700)
committerEvan Coury <me@evancoury.com>
Wed, 7 Mar 2012 09:32:53 +0000 (02:32 -0700)
public/index.php

index 26eefe6..8007083 100644 (file)
@@ -11,7 +11,8 @@ $appConfig = include 'config/application.config.php';
 
 $listenerOptions  = new Zend\Module\Listener\ListenerOptions($appConfig['module_listener_options']);
 $defaultListeners = new Zend\Module\Listener\DefaultListenerAggregate($listenerOptions);
-$defaultListeners->getConfigListener()->addConfigGlobPath("config/autoload/{global,$env}.config.php");
+$defaultListeners->getConfigListener()->addConfigGlobPath("config/autoload/{module.*,global,$env,local}.config.php");
+    
 
 $moduleManager = new Zend\Module\Manager($appConfig['modules']);
 $moduleManager->events()->attachAggregate($defaultListeners);