Isolate and always show IP details on install

This commit is contained in:
Jason 2020-10-11 18:57:30 -04:00 committed by GitHub
parent 8564912149
commit b02f3f4090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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