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