Isolate and always show IP details on install (#3870)

* Isolate and always show IP details on install

* camelCase
This commit is contained in:
Dylan T
2020-10-13 14:11:28 +01:00
committed by GitHub

View File

@@ -92,6 +92,7 @@ class SetupWizard{
$config->save();
if(strtolower($this->getInput($this->lang->get("skip_installer"), "n", "y/N")) === "y"){
$this->printIpDetails();
return true;
}
@@ -101,6 +102,7 @@ class SetupWizard{
$this->generateUserFiles();
$this->networkFunctions();
$this->printIpDetails();
$this->endWizard();
@@ -218,7 +220,9 @@ LICENSE;
}
$config->save();
}
private function printIpDetails() : void{
$this->message($this->lang->get("ip_get"));
$externalIP = Internet::getIP();