Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ZF2-243: Removed GLOB_BRACE from ConfigListener #980

Closed
wants to merge 1 commit into from

3 participants

@YonmaN

Removed GLOB_BRACE for compatibility with AIX/IBMi
This change requires we update the SkeletonApplication to stack config listeners with separate glob patterns

yonni ZF2-243
Removed GLOB_BRACE for compatibility with AIX/IBMi
This change requires we update the SkeletonApplication to stack config listeners with separate glob patterns
d278a04
@weierophinney

We should likely create a solution for either emulating GLOB_BRACE, or document how to achieve the same effect. @EvanDotPro -- care to collaborate on that?

@DASPRiD
Collaborator

This PR becomes obsolete with my PR, implementing GLOB_BRACE in PHP as a fallback:

#983

@weierophinney

Closing for now; per the IRC meeting on 2 May 2012, we'll use the solution in #983 to emulate glob_brace when the system does not support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 29, 2012
  1. ZF2-243

    yonni authored
    Removed GLOB_BRACE for compatibility with AIX/IBMi
    This change requires we update the SkeletonApplication to stack config listeners with separate glob patterns
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Module/Listener/ConfigListener.php
View
2  library/Zend/Module/Listener/ConfigListener.php
@@ -230,7 +230,7 @@ public function addConfigGlobPaths($globPaths)
protected function mergeGlobPath($globPath)
{
// @TODO Use GlobIterator
- $config = ConfigFactory::fromFiles(glob($globPath, GLOB_BRACE));
+ $config = ConfigFactory::fromFiles(glob($globPath));
$this->mergeTraversableConfig($config);
if ($this->getOptions()->getConfigCacheEnabled()) {
$this->updateCache();
Something went wrong with that request. Please try again.