mirror of
https://github.com/friendica/friendica
synced 2025-01-08 20:04:43 +00:00
Replace global $argv with $_SERVER
This commit is contained in:
parent
486a6ba8c6
commit
907e07a4c4
1 changed files with 1 additions and 1 deletions
|
@ -31,4 +31,4 @@ $dice = $dice->addRule(LoggerInterface::class, ['constructParams' => [LogChannel
|
||||||
DI::init($dice);
|
DI::init($dice);
|
||||||
\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class));
|
\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class));
|
||||||
|
|
||||||
(new Friendica\Core\Console($dice, $argv))->execute();
|
(new Friendica\Core\Console($dice, $_SERVER['argv'] ?? []))->execute();
|
||||||
|
|
Loading…
Reference in a new issue