aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/WebStatsModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/UserStatistics/WebStatsModule.cs')
-rw-r--r--OpenSim/Region/UserStatistics/WebStatsModule.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs
index 8a640d0..efea515 100644
--- a/OpenSim/Region/UserStatistics/WebStatsModule.cs
+++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs
@@ -106,6 +106,7 @@ namespace OpenSim.Region.UserStatistics
106 SimStatsAJAX ajSimStats = new SimStatsAJAX(); 106 SimStatsAJAX ajSimStats = new SimStatsAJAX();
107 LogLinesAJAX ajLogLines = new LogLinesAJAX(); 107 LogLinesAJAX ajLogLines = new LogLinesAJAX();
108 Clients_report clientReport = new Clients_report(); 108 Clients_report clientReport = new Clients_report();
109 Sessions_Report sessionsReport = new Sessions_Report();
109 110
110 reports.Add("", rep); 111 reports.Add("", rep);
111 reports.Add("prototype.js", protodep); 112 reports.Add("prototype.js", protodep);
@@ -114,6 +115,18 @@ namespace OpenSim.Region.UserStatistics
114 reports.Add("simstatsajax.ajax", ajSimStats); 115 reports.Add("simstatsajax.ajax", ajSimStats);
115 reports.Add("activelogajax.ajax", ajLogLines); 116 reports.Add("activelogajax.ajax", ajLogLines);
116 reports.Add("clients.report", clientReport); 117 reports.Add("clients.report", clientReport);
118 reports.Add("sessions.report", sessionsReport);
119
120
121
122 ////
123 // Add Your own Reports here (Do Not Modify Lines here Devs!)
124 ////
125
126 ////
127 // End Own reports section
128 ////
129
117 130
118 scene.CommsManager.HttpServer.AddHTTPHandler("/SStats/", HandleStatsRequest); 131 scene.CommsManager.HttpServer.AddHTTPHandler("/SStats/", HandleStatsRequest);
119 scene.CommsManager.HttpServer.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest); 132 scene.CommsManager.HttpServer.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest);
@@ -190,6 +203,9 @@ namespace OpenSim.Region.UserStatistics
190 IStatsController rep = reports[regpath]; 203 IStatsController rep = reports[regpath];
191 Hashtable repParams = new Hashtable(); 204 Hashtable repParams = new Hashtable();
192 205
206 repParams["RequestVars"] = request["requestvars"];
207 repParams["QueryStringKeys"] = request["querystringkeys"];
208
193 repParams["DatabaseConnection"] = dbConn; 209 repParams["DatabaseConnection"] = dbConn;
194 repParams["Scenes"] = m_scene; 210 repParams["Scenes"] = m_scene;
195 repParams["SimStats"] = m_simstatsCounters; 211 repParams["SimStats"] = m_simstatsCounters;