mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-24 20:04:28 +00:00
Isolate and always show IP details on install
This commit is contained in:
parent
8564912149
commit
b02f3f4090
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user