friendica/bin/console.php

15 lines
351 B
PHP
Raw Normal View History

2018-03-18 13:26:51 -04:00
#!/usr/bin/env php
2018-03-18 05:12:39 -04:00
<?php
require dirname(__DIR__) . '/vendor/autoload.php';
2018-03-18 05:12:39 -04:00
use Friendica\Factory;
2018-12-30 15:42:56 -05:00
$dice = new \Dice\Dice();
$dice = $dice->addRules(include __DIR__ . '/../static/dependencies.config.php');
$a = Factory\DependencyFactory::setUp('console', $dice);
2018-03-18 05:12:39 -04:00
\Friendica\BaseObject::setApp($a);
2018-03-30 22:56:04 -04:00
(new Friendica\Core\Console($argv))->execute();