Update glob() for autoload config files
[zf2.biz/application_blanche.git] / public / index.php
index 354a083..e06ff49 100644 (file)
@@ -7,7 +7,7 @@ $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,local}.config.php");
+$defaultListeners->getConfigListener()->addConfigGlobPath("config/autoload/*.php");
     
 
 $moduleManager = new Zend\Module\Manager($appConfig['modules']);