Fixed messed up glob config line
authorGabriel Baker <gabriel@autonomicpilot.co.uk>
Sat, 3 Mar 2012 11:07:21 +0000 (11:07 +0000)
committerGabriel Baker <gabriel@autonomicpilot.co.uk>
Sat, 3 Mar 2012 11:07:21 +0000 (11:07 +0000)
public/index.php

index 34d0b34..26eefe6 100644 (file)
@@ -11,7 +11,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,$env}..configphp");
+$defaultListeners->getConfigListener()->addConfigGlobPath("config/autoload/{global,$env}.config.php");
 
 $moduleManager = new Zend\Module\Manager($appConfig['modules']);
 $moduleManager->events()->attachAggregate($defaultListeners);