From 28ad59273411b7c3658b586408676e119b52559e Mon Sep 17 00:00:00 2001
From: Roland Haeder <roland@mxchange.org>
Date: Wed, 18 Feb 2015 18:52:24 +0100
Subject: [PATCH] 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 <roland@mxchange.org>
---
 application/hub/init.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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]
 ?>
-- 
2.39.5