Skip to content

Commit

Permalink
fix: pw:install option ignores --url command line option #8
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed May 6, 2024
1 parent 25f4a75 commit 839f26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App/Commands/PwInstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ public function fillForm($defaults = [])
if ($this->output->isVerbose()) $this->write("$name=" . implode(",", $hosts));
$value = implode("\n", $hosts);
} elseif ($name == 'admin_name') {
$label = "Enter url of your admin interface";
$value = $this->ask($label, "processwire");
$label = 'Enter url of your admin interface';
$value = $this->ask($label, $this->option('url') ?: 'processwire');
if ($this->output->isVerbose()) $this->write("$name=$value");
} elseif ($name == 'userpass_confirm') {
$value = $this->askWithCompletion($name, $options, $pass);
Expand Down

0 comments on commit 839f26f

Please sign in to comment.