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

12 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();