=====================
By default, this application is configured to load all configs in
-`./config/autoload/*.config.php`. Doing this provides a location for a
-developer to drop in configuration override files provided by modules, as well
-as cleanly provide individual, application-wide config files for things like
-database connections, etc.
+`./config/autoload/{,*.}{global,local}.config.php`. Doing this provides a
+location for a developer to drop in configuration override files provided by
+modules, as well as cleanly provide individual, application-wide config files
+for things like database connections, etc.
$listenerOptions = new Zend\Module\Listener\ListenerOptions($appConfig['module_listener_options']);
$defaultListeners = new Zend\Module\Listener\DefaultListenerAggregate($listenerOptions);
-$defaultListeners->getConfigListener()->addConfigGlobPath("config/autoload/*.{global,local}.php");
+$defaultListeners->getConfigListener()->addConfigGlobPath("config/autoload/{,*.}{global,local}.config.php");
$moduleManager = new Zend\Module\Manager($appConfig['modules']);