fix install task
This commit is contained in:
parent
af782fe067
commit
bd1d9834be
1 changed files with 10 additions and 0 deletions
|
@ -186,6 +186,16 @@ class Install extends Action
|
||||||
if (empty($input[$var['name']])) {
|
if (empty($input[$var['name']])) {
|
||||||
$input[$var['name']] = $var['default'];
|
$input[$var['name']] = $var['default'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($var['filter'] === 'domainTarget') {
|
||||||
|
if ($input[$var['name']] !== 'localhost') {
|
||||||
|
Console::warning("\nIf you haven't already done so, set the following record for {$input[$var['name']]} on your DNS provider:\n");
|
||||||
|
$mask = "%-15.15s %-10.10s %-30.30s\n";
|
||||||
|
printf($mask, "Type", "Name", "Value");
|
||||||
|
printf($mask, "A or AAAA", "@", "<YOUR PUBLIC IP>");
|
||||||
|
Console::warning("\nUse 'AAAA' if you're using an IPv6 address and 'A' if you're using an IPv4 address.\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$templateForCompose = new View(__DIR__ . '/../views/install/compose.phtml');
|
$templateForCompose = new View(__DIR__ . '/../views/install/compose.phtml');
|
||||||
|
|
Loading…
Reference in a new issue