mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
13 lines
293 B
PHP
Executable file
13 lines
293 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
require dirname(__DIR__) . '/vendor/autoload.php';
|
|
|
|
use Friendica\Util\LoggerFactory;
|
|
|
|
$logger = LoggerFactory::create('console');
|
|
|
|
$a = new Friendica\App(dirname(__DIR__), $logger);
|
|
\Friendica\BaseObject::setApp($a);
|
|
|
|
(new Friendica\Core\Console($argv))->execute();
|