// Set this application in registry
Registry::getRegistry()->addInstance('app', $this);
- // Determine external IP
- $this->getConfigInstance()->setConfigEntry('external_ip', ConsoleTools::determineExternalIp());
+ // Is no external IP set?
+ if ($this->getConfigInstance()->getConfigEntry('external_ip') == '') {
+ // Determine external IP
+ $this->getConfigInstance()->setConfigEntry('external_ip', ConsoleTools::determineExternalIp());
+ } // END - if
// Default response is console
$response = $this->getResponseTypeFromSystem();