diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Server/Handlers/Web/WebServerInConnector.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Web/WebServerInConnector.cs b/OpenSim/Server/Handlers/Web/WebServerInConnector.cs index bc34bae..568b7d6 100644 --- a/OpenSim/Server/Handlers/Web/WebServerInConnector.cs +++ b/OpenSim/Server/Handlers/Web/WebServerInConnector.cs | |||
@@ -212,6 +212,17 @@ namespace OpenSim.Server.Handlers.Web | |||
212 | reply["str_response_string"] = loggedOnPage(body, fields); | 212 | reply["str_response_string"] = loggedOnPage(body, fields); |
213 | } | 213 | } |
214 | } | 214 | } |
215 | else if ("list" == fields["doit"].ToString()) | ||
216 | { | ||
217 | List< Hashtable > rows = m_database.Select("GridUser", "Login > UNIX_TIMESTAMP(FROM_UNIXTIME(UNIX_TIMESTAMP(now()) - 2419200))"); | ||
218 | foreach (Hashtable row in rows) | ||
219 | { | ||
220 | string line = ""; | ||
221 | foreach (DictionaryEntry c in row) | ||
222 | line = line + " | " + (string) c.Value; | ||
223 | m_log.Info("[MariaDB RAW]: " + line); | ||
224 | } | ||
225 | } | ||
215 | else | 226 | else |
216 | { | 227 | { |
217 | reply["str_response_string"] = loggedOnPage(body, fields); | 228 | reply["str_response_string"] = loggedOnPage(body, fields); |