diff --git a/src/Application.php b/src/Application.php index f91fdda57686a4097d040a7dd2d5a536656fb377..38292a5a81ded2d39419f7fee0b01a197dc16b3c 100644 --- a/src/Application.php +++ b/src/Application.php @@ -159,7 +159,7 @@ class Application extends BaseApplication function getAllContexts($name = '') { $contexts = []; $finder = new \Symfony\Component\Finder\Finder(); - $finder->files()->name('*.' . $name . '.yml')->in($this->config->get('config_path') . '/provision'); + $finder->files()->name('*' . $name . '.yml')->in($this->config->get('config_path') . '/provision'); foreach ($finder as $file) { list($context_type, $context_name) = explode('.', $file->getFilename()); $class = '\Aegir\Provision\Context\\' . ucfirst($context_type) . "Context";