BugFix: forgot configCache in ConfigFactory

This commit is contained in:
Philipp Holzer 2019-07-12 23:05:48 +02:00
parent c82127ffb7
commit a30200083a
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 9 additions and 8 deletions

View file

@ -33,7 +33,7 @@ class DependencyFactory
$database = Factory\DBFactory::init($configCache, $profiler, $_SERVER);
$config = Factory\ConfigFactory::createConfig($configCache);
// needed to call PConfig::init()
Factory\ConfigFactory::createPConfig(new PConfigCache());
Factory\ConfigFactory::createPConfig($configCache, new PConfigCache());
$logger = Factory\LoggerFactory::create($channel, $database, $config, $profiler);
Factory\LoggerFactory::createDev($channel, $config, $profiler);
$baseURL = new BaseURL($config, $_SERVER);