]> git.mxchange.org Git - friendica.git/blobdiff - bin/console.php
Fix optical glitch: Replace multiple newlines when replacing attachments
[friendica.git] / bin / console.php
index 4c396854dc09c06564f5c4e86b01c645f49dfc5c..a6513a2e8f992bdd52d5a8bfea7ff81e5c7e94ef 100755 (executable)
@@ -2,9 +2,11 @@
 <?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();