Add missing ConfigCacheLoader constructor parameter in App

This commit is contained in:
Hypolite Petovan 2019-03-23 00:19:22 -04:00
parent 66df8d6bc6
commit 5480c56811

View file

@ -355,7 +355,7 @@ class App
$this->getMode()->determine($this->basePath);
if ($this->getMode()->has(App\Mode::DBAVAILABLE)) {
$loader = new ConfigCacheLoader($this->basePath);
$loader = new ConfigCacheLoader($this->basePath, $this->getMode());
$this->config->getCache()->load($loader->loadCoreConfig('addon'), true);
$this->profiler->update(