]> git.mxchange.org Git - hub.git/blobdiff - application/hub/init.php
Need to set back the "internal" (LAN) address in config as this is later needed
[hub.git] / 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]
 ?>