diff options
author | Dr Scofield | 2008-07-25 17:06:26 +0000 |
---|---|---|
committer | Dr Scofield | 2008-07-25 17:06:26 +0000 |
commit | c724e3843399e63c895bd82856496fb3cc64ad57 (patch) | |
tree | fb4406882bbcd74a3d97bb6a968006dae8bdffa6 /OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs | |
parent | first cut at a GridInfo plugin (mantis #1825). Currently just spits (diff) | |
download | opensim-SC_OLD-c724e3843399e63c895bd82856496fb3cc64ad57.zip opensim-SC_OLD-c724e3843399e63c895bd82856496fb3cc64ad57.tar.gz opensim-SC_OLD-c724e3843399e63c895bd82856496fb3cc64ad57.tar.bz2 opensim-SC_OLD-c724e3843399e63c895bd82856496fb3cc64ad57.tar.xz |
oops. forgot to add addin.xml for GridInfoPlugin. also, slight
reordering of plugin initialisation to ensure that it will return base
information about grid, even if [GridInfo] config section is not
there.
Diffstat (limited to 'OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs b/OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs index d8575d0b..000fa52 100644 --- a/OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs +++ b/OpenSim/ApplicationPlugins/GridInfo/GridInfoPlugin.cs | |||
@@ -82,13 +82,14 @@ namespace OpenSim.ApplicationPlugins.GridInfo | |||
82 | } | 82 | } |
83 | _info["platform"] = "OpenSim"; | 83 | _info["platform"] = "OpenSim"; |
84 | 84 | ||
85 | _httpd.AddXmlRPCHandler("get_grid_info", XmlRpcGridInfoMethod); | ||
86 | |||
85 | IConfig gridInfoConfig = _app.ConfigSource.Source.Configs["GridInfo"]; | 87 | IConfig gridInfoConfig = _app.ConfigSource.Source.Configs["GridInfo"]; |
86 | foreach (string k in gridInfoConfig.GetKeys()) | 88 | foreach (string k in gridInfoConfig.GetKeys()) |
87 | { | 89 | { |
88 | _info[k] = gridInfoConfig.GetString(k); | 90 | _info[k] = gridInfoConfig.GetString(k); |
89 | } | 91 | } |
90 | 92 | ||
91 | _httpd.AddXmlRPCHandler("get_grid_info", XmlRpcGridInfoMethod); | ||
92 | } | 93 | } |
93 | catch (NullReferenceException) | 94 | catch (NullReferenceException) |
94 | { | 95 | { |