mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 20:34:25 +02:00
WebCommand::serveAction(): make arguments non-positional
resolves #10682
This commit is contained in:
parent
15154308d1
commit
d101e852ce
@ -21,8 +21,8 @@ class WebCommand extends Command
|
|||||||
}
|
}
|
||||||
|
|
||||||
$fork = $this->params->get('daemonize');
|
$fork = $this->params->get('daemonize');
|
||||||
$documentRoot = $this->params->shift();
|
$documentRoot = $this->params->shift('document-root');
|
||||||
$socket = $this->params->shift();
|
$socket = $this->params->shift('listen-addr');
|
||||||
|
|
||||||
// TODO: Sanity check!!
|
// TODO: Sanity check!!
|
||||||
if ($socket === null) {
|
if ($socket === null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user