mirror of
https://github.com/friendica/friendica
synced 2025-04-26 18:30:11 +00:00
adding parameter to App
This commit is contained in:
parent
0a7861da65
commit
cb1ad4287d
5 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,7 @@ $basedir = BasePath::create(dirname(__DIR__), $_SERVER);
|
|||
$configLoader = new Config\ConfigCacheLoader($basedir);
|
||||
$config = Factory\ConfigFactory::createCache($configLoader);
|
||||
$logger = Factory\LoggerFactory::create('console', $config);
|
||||
$profiler = Factory\ProfilerFactory::create($config);
|
||||
$profiler = Factory\ProfilerFactory::create($logger, $config);
|
||||
|
||||
$a = new Friendica\App($config, $logger, $profiler);
|
||||
\Friendica\BaseObject::setApp($a);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue