aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server
diff options
context:
space:
mode:
authorMelanie2011-10-25 01:37:11 +0100
committerMelanie2011-10-25 01:37:11 +0100
commit9ceb98344a8a296994404edaf86b4344e06b9a69 (patch)
tree3efe288d54152c6b6b8c24e763495c1eddf62d4e /OpenSim/Server
parentMerge commit 'f5f7ca47ea7a27fb7f82367cc7a4e04e11cb5155' into bigmerge (diff)
parentGet rid of some traces of the old pre-ROBUST grid architecture config (diff)
downloadopensim-SC-9ceb98344a8a296994404edaf86b4344e06b9a69.zip
opensim-SC-9ceb98344a8a296994404edaf86b4344e06b9a69.tar.gz
opensim-SC-9ceb98344a8a296994404edaf86b4344e06b9a69.tar.bz2
opensim-SC-9ceb98344a8a296994404edaf86b4344e06b9a69.tar.xz
Merge commit '631d5e16ef8c5340b6283b1a9ed9cc95aea3e3a1' into bigmerge
Diffstat (limited to 'OpenSim/Server')
-rw-r--r--OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs18
1 files changed, 5 insertions, 13 deletions
diff --git a/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs b/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs
index 0da9fc1..afe2f27 100644
--- a/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs
+++ b/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs
@@ -67,12 +67,9 @@ namespace OpenSim.Server.Handlers.Grid
67 _info["platform"] = "OpenSim"; 67 _info["platform"] = "OpenSim";
68 try 68 try
69 { 69 {
70 IConfig startupCfg = configSource.Configs["Startup"];
71 IConfig gridCfg = configSource.Configs["GridInfoService"]; 70 IConfig gridCfg = configSource.Configs["GridInfoService"];
72 IConfig netCfg = configSource.Configs["Network"]; 71 IConfig netCfg = configSource.Configs["Network"];
73 72
74 bool grid = startupCfg.GetBoolean("gridmode", false);
75
76 if (null != gridCfg) 73 if (null != gridCfg)
77 { 74 {
78 foreach (string k in gridCfg.GetKeys()) 75 foreach (string k in gridCfg.GetKeys())
@@ -82,16 +79,11 @@ namespace OpenSim.Server.Handlers.Grid
82 } 79 }
83 else if (null != netCfg) 80 else if (null != netCfg)
84 { 81 {
85 if (grid) 82 _info["login"]
86 _info["login"] 83 = String.Format(
87 = netCfg.GetString( 84 "http://127.0.0.1:{0}/",
88 "user_server_url", "http://127.0.0.1:" + ConfigSettings.DefaultUserServerHttpPort.ToString()); 85 netCfg.GetString(
89 else 86 "http_listener_port", ConfigSettings.DefaultRegionHttpPort.ToString()));
90 _info["login"]
91 = String.Format(
92 "http://127.0.0.1:{0}/",
93 netCfg.GetString(
94 "http_listener_port", ConfigSettings.DefaultRegionHttpPort.ToString()));
95 87
96 IssueWarning(); 88 IssueWarning();
97 } 89 }