mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Merge commit '631d5e16ef8c5340b6283b1a9ed9cc95aea3e3a1' into bigmerge
This commit is contained in:
@@ -67,12 +67,9 @@ namespace OpenSim.Server.Handlers.Grid
|
||||
_info["platform"] = "OpenSim";
|
||||
try
|
||||
{
|
||||
IConfig startupCfg = configSource.Configs["Startup"];
|
||||
IConfig gridCfg = configSource.Configs["GridInfoService"];
|
||||
IConfig netCfg = configSource.Configs["Network"];
|
||||
|
||||
bool grid = startupCfg.GetBoolean("gridmode", false);
|
||||
|
||||
if (null != gridCfg)
|
||||
{
|
||||
foreach (string k in gridCfg.GetKeys())
|
||||
@@ -82,16 +79,11 @@ namespace OpenSim.Server.Handlers.Grid
|
||||
}
|
||||
else if (null != netCfg)
|
||||
{
|
||||
if (grid)
|
||||
_info["login"]
|
||||
= netCfg.GetString(
|
||||
"user_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultUserServerHttpPort.ToString());
|
||||
else
|
||||
_info["login"]
|
||||
= String.Format(
|
||||
"http://127.0.0.1:{0}/",
|
||||
netCfg.GetString(
|
||||
"http_listener_port", ConfigSettings.DefaultRegionHttpPort.ToString()));
|
||||
_info["login"]
|
||||
= String.Format(
|
||||
"http://127.0.0.1:{0}/",
|
||||
netCfg.GetString(
|
||||
"http_listener_port", ConfigSettings.DefaultRegionHttpPort.ToString()));
|
||||
|
||||
IssueWarning();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user