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
commit f8d249b240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();