X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fconsole.php;h=a6513a2e8f992bdd52d5a8bfea7ff81e5c7e94ef;hb=d3929267d0d8fe9eac176685a34d2cfb2f8122ce;hp=e7b1786de74c580a141c54d9a1bec9216238929f;hpb=1e0e1674f2aeef54c52790946cfd61a199cb2042;p=friendica.git diff --git a/bin/console.php b/bin/console.php index e7b1786de7..a6513a2e8f 100755 --- a/bin/console.php +++ b/bin/console.php @@ -1,18 +1,12 @@ #!/usr/bin/env php addRules(include __DIR__ . '/../static/dependencies.config.php'); +$dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['console']]); -(new Friendica\Core\Console($argv))->execute(); +(new Friendica\Core\Console($dice, $argv))->execute();