From c12b50dc1b1b5a9fb8d328621641d4397033b1b5 Mon Sep 17 00:00:00 2001 From: johannes Heimbach Date: Sun, 29 Apr 2018 17:21:27 +0200 Subject: [PATCH] stop config.yml on loading again --- lib/Pico.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Pico.php b/lib/Pico.php index bad58bc..4e515cc 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -894,7 +894,7 @@ class Pico // merge $config of config/*.yml files $configFiles = $this->getFilesGlob($this->getConfigDir() . '*.yml'); foreach ($configFiles as $configFile) { - if ($configFile !== 'config.yml') { + if ($configFile !== $this->getConfigDir() . 'config.yml') { $this->config += $loadConfigClosure($configFile); } }