]> git.mxchange.org Git - hub.git/commitdiff
Need to set back the "internal" (LAN) address in config as this is later needed
authorRoland Haeder <roland@mxchange.org>
Wed, 18 Feb 2015 17:52:24 +0000 (18:52 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 18 Feb 2015 17:52:24 +0000 (18:52 +0100)
in announcement.xml template (please refer there).

Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/init.php

index 42cf824036aea8ee55f8bed7e1ee14cba14640e1..72be973664679bbbad31d6b442d309b007d04097 100644 (file)
@@ -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]
 ?>