2018-03-18 17:26:51 +00:00
|
|
|
#!/usr/bin/env php
|
2018-03-18 09:12:39 +00:00
|
|
|
<?php
|
|
|
|
|
2018-12-24 14:56:48 +00:00
|
|
|
require dirname(__DIR__) . '/vendor/autoload.php';
|
2018-03-18 09:12:39 +00:00
|
|
|
|
2019-02-03 21:46:50 +00:00
|
|
|
use Friendica\Factory;
|
2018-12-30 20:42:56 +00:00
|
|
|
|
2019-07-20 23:22:10 +00:00
|
|
|
$dice = new \Dice\Dice();
|
|
|
|
$dice = $dice->addRules(include __DIR__ . '/../static/dependencies.config.php');
|
|
|
|
|
|
|
|
$a = Factory\DependencyFactory::setUp('console', $dice);
|
2018-03-18 09:12:39 +00:00
|
|
|
\Friendica\BaseObject::setApp($a);
|
|
|
|
|
2018-03-31 02:56:04 +00:00
|
|
|
(new Friendica\Core\Console($argv))->execute();
|