]> git.mxchange.org Git - friendica.git/blobdiff - bin/console.php
Display pending contacts in the contact list
[friendica.git] / bin / console.php
index c39df953f287b0873748816638cd09475b82c5da..4c396854dc09c06564f5c4e86b01c645f49dfc5c 100755 (executable)
@@ -1,9 +1,10 @@
 #!/usr/bin/env php
 <?php
 
+use Dice\Dice;
+
 require dirname(__DIR__) . '/vendor/autoload.php';
 
-$a = new Friendica\App(dirname(__DIR__));
-\Friendica\BaseObject::setApp($a);
+$dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config.php');
 
-(new Friendica\Core\Console($argv))->execute();
+(new Friendica\Core\Console($dice, $argv))->execute();