]> git.mxchange.org Git - friendica.git/blobdiff - src/App.php
Logs view: remove unneeded tpl var
[friendica.git] / src / App.php
index 6e9f7c3184389e9055f5369b4921544c2d947b76..7c7496c3baf138a0b47d66b9241d2653d39354eb 100644 (file)
@@ -25,6 +25,7 @@ use Exception;
 use Friendica\App\Arguments;
 use Friendica\App\BaseURL;
 use Friendica\App\Module;
+use Friendica\Factory\ConfigFactory;
 use Friendica\Module\Maintenance;
 use Friendica\Security\Authentication;
 use Friendica\Core\Config\Cache;
@@ -352,7 +353,7 @@ class App
                        $this->profiler->update($this->config);
 
                        Core\Hook::loadHooks();
-                       $loader = new ConfigFileLoader($this->getBasePath());
+                       $loader = (new ConfigFactory())->createConfigFileLoader($this->getBasePath(), $_SERVER);
                        Core\Hook::callAll('load_config', $loader);
                }