X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=bin%2Fconsole.php;h=a6513a2e8f992bdd52d5a8bfea7ff81e5c7e94ef;hb=4ee9e21a4f5e177f3815c89d309af5a005bd88c3;hp=90e4be392856b135a54907fd06f3345b82afeb22;hpb=5e5fde0a63c57d2873bfa29404110269ca9abeee;p=friendica.git diff --git a/bin/console.php b/bin/console.php index 90e4be3928..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();