aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/WebStatsModule.cs
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-08 22:01:57 +0000
committerTeravus Ovares2009-01-08 22:01:57 +0000
commitfcc3325f3bbeff204d7e5d779fcd8875d6dd4e10 (patch)
treef80e41ae6e508bcb8ec32c24d3e6f8285756cf7b /OpenSim/Region/UserStatistics/WebStatsModule.cs
parent* Establish placeholder for future TextureSender tests (diff)
downloadopensim-SC_OLD-fcc3325f3bbeff204d7e5d779fcd8875d6dd4e10.zip
opensim-SC_OLD-fcc3325f3bbeff204d7e5d779fcd8875d6dd4e10.tar.gz
opensim-SC_OLD-fcc3325f3bbeff204d7e5d779fcd8875d6dd4e10.tar.bz2
opensim-SC_OLD-fcc3325f3bbeff204d7e5d779fcd8875d6dd4e10.tar.xz
* Adds the variables passed to the hashtable BaseHttpServer passes in.
* Null check on Sessions_report.
Diffstat (limited to 'OpenSim/Region/UserStatistics/WebStatsModule.cs')
-rw-r--r--OpenSim/Region/UserStatistics/WebStatsModule.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs
index efea515..cb3b292 100644
--- a/OpenSim/Region/UserStatistics/WebStatsModule.cs
+++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs
@@ -203,8 +203,16 @@ namespace OpenSim.Region.UserStatistics
203 IStatsController rep = reports[regpath]; 203 IStatsController rep = reports[regpath];
204 Hashtable repParams = new Hashtable(); 204 Hashtable repParams = new Hashtable();
205 205
206 repParams["RequestVars"] = request["requestvars"]; 206 if (request.ContainsKey("requestvars"))
207 repParams["QueryStringKeys"] = request["querystringkeys"]; 207 repParams["RequestVars"] = request["requestvars"];
208 else
209 repParams["RequestVars"] = new Hashtable();
210
211 if (request.ContainsKey("querystringkeys"))
212 repParams["QueryStringKeys"] = request["querystringkeys"];
213 else
214 repParams["QueryStringKeys"] = new string[0];
215
208 216
209 repParams["DatabaseConnection"] = dbConn; 217 repParams["DatabaseConnection"] = dbConn;
210 repParams["Scenes"] = m_scene; 218 repParams["Scenes"] = m_scene;