mirror of
https://github.com/friendica/friendica
synced 2024-12-22 06:07:27 +01:00
12 lines
350 B
PHP
Executable file
12 lines
350 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
use Dice\Dice;
|
|
use Psr\Log\LoggerInterface;
|
|
|
|
require dirname(__DIR__) . '/vendor/autoload.php';
|
|
|
|
$dice = (new Dice())->addRules(include __DIR__ . '/../static/dependencies.config.php');
|
|
$dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['console']]);
|
|
|
|
(new Friendica\Core\Console($dice, $argv))->execute();
|