1
0
Fork 0

adding parameter to App

This commit is contained in:
Philipp Holzer 2019-02-16 23:18:24 +01:00
commit cb1ad4287d
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
5 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ $basedir = BasePath::create(__DIR__, $_SERVER);
$configLoader = new Config\ConfigCacheLoader($basedir);
$config = Factory\ConfigFactory::createCache($configLoader);
$logger = Factory\LoggerFactory::create('index', $config);
$profiler = Factory\ProfilerFactory::create($config);
$profiler = Factory\ProfilerFactory::create($logger, $config);
// We assume that the index.php is called by a frontend process
// The value is set to "true" by default in App