stop config.yml on loading again

pico-3.0-alpha
johannes Heimbach 7 years ago
parent a30dcbc814
commit c12b50dc1b
  1. 2
      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);
}
}

Loading…
Cancel
Save