mirror of
https://github.com/friendica/friendica
synced 2025-02-10 14:14:01 +00:00
Fix possible falsy return of getopt()
This commit is contained in:
parent
894cd5814f
commit
619cb730ef
2 changed files with 3 additions and 2 deletions
|
@ -7,8 +7,9 @@ parameters:
|
||||||
|
|
||||||
paths:
|
paths:
|
||||||
- addon/
|
- addon/
|
||||||
- src/
|
- bin/daemon.php
|
||||||
- index.php
|
- index.php
|
||||||
|
- src/
|
||||||
|
|
||||||
excludePaths:
|
excludePaths:
|
||||||
analyse:
|
analyse:
|
||||||
|
|
|
@ -31,4 +31,4 @@ $dice = (new Dice())->addRules(require(dirname(__DIR__) . '/static/dependencies.
|
||||||
|
|
||||||
$app = \Friendica\App::fromDice($dice);
|
$app = \Friendica\App::fromDice($dice);
|
||||||
|
|
||||||
$app->processDaemon($_SERVER['argv'] ?? [], $options);
|
$app->processDaemon($_SERVER['argv'] ?? [], $options ?: []);
|
||||||
|
|
Loading…
Add table
Reference in a new issue