From: Roland Haeder Date: Wed, 18 Feb 2015 17:52:24 +0000 (+0100) Subject: Need to set back the "internal" (LAN) address in config as this is later needed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28ad59273411b7c3658b586408676e119b52559e;p=hub.git Need to set back the "internal" (LAN) address in config as this is later needed in announcement.xml template (please refer there). Signed-off-by: Roland Haeder --- diff --git a/application/hub/init.php b/application/hub/init.php index 42cf82403..72be97366 100644 --- a/application/hub/init.php +++ b/application/hub/init.php @@ -34,8 +34,8 @@ require($cfg->getConfigEntry('base_path') . 'inc/output.php'); // the inc/database.php script require($cfg->getConfigEntry('base_path') . 'inc/database.php'); -// Get own internal address -HubTools::determineOwnInternalAddress(); +// Get own internal address and set it in config +$cfg->setConfigEntry('internal_address', HubTools::determineOwnInternalAddress()); // [EOF] ?>