mirror of
https://github.com/friendica/friendica
synced 2025-05-20 07:44:11 +02:00
bugfix: add lost changes due merge
This commit is contained in:
parent
8f0aa0ca5a
commit
4913502922
5 changed files with 30 additions and 11 deletions
|
@ -8,6 +8,7 @@ use Friendica\Factory;
|
|||
use Friendica\Util\BasePath;
|
||||
use Friendica\Util\BaseURL;
|
||||
use Friendica\Util\Config;
|
||||
use Psr\Log\NullLogger;
|
||||
|
||||
class DependencyFactory
|
||||
{
|
||||
|
@ -31,7 +32,8 @@ class DependencyFactory
|
|||
$configCache = Factory\ConfigFactory::createCache($configLoader);
|
||||
$profiler = Factory\ProfilerFactory::create($configCache);
|
||||
$database = Factory\DBFactory::init($configCache, $profiler, $_SERVER);
|
||||
$config = Factory\ConfigFactory::createConfig($configCache);
|
||||
$configModel = new \Friendica\Model\Config\Config($database);
|
||||
$config = Factory\ConfigFactory::createConfig($configCache, $configModel);
|
||||
// needed to call PConfig::init()
|
||||
Factory\ConfigFactory::createPConfig($configCache, new PConfigCache());
|
||||
$logger = Factory\LoggerFactory::create($channel, $database, $config, $profiler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue