]> git.mxchange.org Git - friendica.git/commitdiff
Add missing ConfigCacheLoader constructor parameter in App
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 23 Mar 2019 04:19:22 +0000 (00:19 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 23 Mar 2019 04:19:22 +0000 (00:19 -0400)
src/App.php

index ff201e42ec0723fd5b044904c10cf54806486072..4f55b558c04188c3ad21bb94363afd1edb1cf64d 100644 (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(