Revert "WebCommand::serveAction(): make arguments non-positional"

This reverts commit d101e852ce7a0c75da449f5db02cf73d3ea7f50f.

Sorry for doing so, but we have to fix this without breaking
compatibility.
This commit is contained in:
Thomas Gelf 2015-11-20 19:45:15 +01:00
parent 6d56a57b7e
commit 3ded331bd1

View File

@ -38,8 +38,8 @@ class WebCommand extends Command
} }
$fork = $this->params->get('daemonize'); $fork = $this->params->get('daemonize');
$documentRoot = $this->params->shift('document-root'); $documentRoot = $this->params->shift();
$socket = $this->params->shift('listen-addr'); $socket = $this->params->shift();
// TODO: Sanity check!! // TODO: Sanity check!!
if ($socket === null) { if ($socket === null) {