X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=7c7496c3baf138a0b47d66b9241d2653d39354eb;hb=e8c0d5d445b978cbec559a8fcd15dbbfa8fd636a;hp=67b2592bd3e841b340724e4cf6a5ddd562c743eb;hpb=57029441168f81e94a974affd8be610c732e8172;p=friendica.git diff --git a/src/App.php b/src/App.php index 67b2592bd3..7c7496c3ba 100644 --- a/src/App.php +++ b/src/App.php @@ -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(), $_SERVER); + $loader = (new ConfigFactory())->createConfigFileLoader($this->getBasePath(), $_SERVER); Core\Hook::callAll('load_config', $loader); }