friendica-github/bin/console.php
2019-02-17 20:45:39 +01:00

11 lines
254 B
PHP
Executable file

#!/usr/bin/env php
<?php
require dirname(__DIR__) . '/vendor/autoload.php';
use Friendica\Factory;
$a = Factory\DependencyFactory::setUp('console', dirname(__DIR__));
\Friendica\BaseObject::setApp($a);
(new Friendica\Core\Console($argv))->execute();