bug fixes:

- GridInfoServices was not paying attention to location of ini file
- typo in RemoteAdminPlugin
This commit is contained in:
Dr Scofield
2008-08-22 11:09:38 +00:00
parent cf5ee5eaa1
commit d972d22788
3 changed files with 34 additions and 37 deletions

View File

@@ -387,7 +387,8 @@ namespace OpenSim
m_httpServer.SetLLSDHandler(m_loginService.LLSDLoginMethod);
// provide grid info
m_gridInfoService = new GridInfoService();
// m_gridInfoService = new GridInfoService(m_config.Source.Configs["Startup"].GetString("inifile", Path.Combine(Util.configDir(), "OpenSim.ini")));
m_gridInfoService = new GridInfoService(m_config.Source);
m_httpServer.AddXmlRPCHandler("get_grid_info", m_gridInfoService.XmlRpcGridInfoMethod);
m_httpServer.AddStreamHandler(new RestStreamHandler("GET", "/get_grid_info", m_gridInfoService.RestGetGridInfoMethod));
}