mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 21:24:27 +02:00
Add Monolog
This commit is contained in:
parent
1d61645a16
commit
fe8f0e0045
15 changed files with 363 additions and 121 deletions
|
@ -3,7 +3,11 @@
|
|||
|
||||
require dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
$a = new Friendica\App(dirname(__DIR__));
|
||||
use Friendica\Core\Logger;
|
||||
|
||||
$logger = Logger::create('console');
|
||||
|
||||
$a = new Friendica\App(dirname(__DIR__), $logger);
|
||||
\Friendica\BaseObject::setApp($a);
|
||||
|
||||
(new Friendica\Core\Console($argv))->execute();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue