Per a discussion on IRC with @weierophinney:
- requiring ".config" in the filenames is redundant as they live under the
config/ tree
- "local" and "global" should be optional
This leaves us with simply config/autoload/*.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']);