X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fconsole.php;h=27522d8554762bb0a607f21fb38d3020394cb0d4;hb=04c95a5045136cb18d09f0ae6f9cb46975dace13;hp=4c396854dc09c06564f5c4e86b01c645f49dfc5c;hpb=9682cc440ce8ac227079dde81631eac1b7141b83;p=friendica.git diff --git a/bin/console.php b/bin/console.php index 4c396854dc..27522d8554 100755 --- a/bin/console.php +++ b/bin/console.php @@ -1,10 +1,31 @@ #!/usr/bin/env php . + * + */ use Dice\Dice; +use Psr\Log\LoggerInterface; require dirname(__DIR__) . '/vendor/autoload.php'; $dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config.php'); +$dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['console']]); (new Friendica\Core\Console($dice, $argv))->execute();