Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'feature/glob-fallback' of https://github.com/EvanDotPro…
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Listener/ConfigListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Zend\ModuleManager\ModuleEvent;
use Zend\Stdlib\ArrayUtils;
use Zend\Stdlib\Glob;
use Zend\EventManager\EventManagerInterface;
use Zend\EventManager\ListenerAggregateInterface;

Expand Down Expand Up @@ -303,7 +304,7 @@ protected function mergePath($path)
break;

case self::GLOB_PATH:
$config = ConfigFactory::fromFiles(glob($path['path'], GLOB_BRACE));
$config = ConfigFactory::fromFiles(Glob::glob($path['path'], Glob::GLOB_BRACE));
break;
}
$this->mergeTraversableConfig($config);
Expand Down

0 comments on commit 9ae8ef7

Please sign in to comment.