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