friendica_2021.01_tupambae_.../bin/console.php

14 lines
293 B
PHP
Raw Normal View History

2018-03-18 18:26:51 +01:00
#!/usr/bin/env php
2018-03-18 10:12:39 +01:00
<?php
require dirname(__DIR__) . '/vendor/autoload.php';
2018-03-18 10:12:39 +01:00
2018-12-30 21:42:56 +01:00
use Friendica\Util\LoggerFactory;
$logger = LoggerFactory::create('console');
$a = new Friendica\App(dirname(__DIR__), $logger);
2018-03-18 10:12:39 +01:00
\Friendica\BaseObject::setApp($a);
2018-03-31 04:56:04 +02:00
(new Friendica\Core\Console($argv))->execute();