aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/UserStatistics
diff options
context:
space:
mode:
authoronefang2019-05-19 22:03:18 +1000
committeronefang2019-05-19 22:03:18 +1000
commit28b3b1c62d9fad9811986aad185121fed3f3b755 (patch)
tree8e1104af2c9e2beec37e4d0fab2cac84c4e0187e /OpenSim/Region/OptionalModules/UserStatistics
parentVarious database fixups. (diff)
downloadopensim-SC-28b3b1c62d9fad9811986aad185121fed3f3b755.zip
opensim-SC-28b3b1c62d9fad9811986aad185121fed3f3b755.tar.gz
opensim-SC-28b3b1c62d9fad9811986aad185121fed3f3b755.tar.bz2
opensim-SC-28b3b1c62d9fad9811986aad185121fed3f3b755.tar.xz
Move db directory out of tree.
Diffstat (limited to 'OpenSim/Region/OptionalModules/UserStatistics')
-rw-r--r--OpenSim/Region/OptionalModules/UserStatistics/WebStatsModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/UserStatistics/WebStatsModule.cs b/OpenSim/Region/OptionalModules/UserStatistics/WebStatsModule.cs
index c15b194..f76b057 100644
--- a/OpenSim/Region/OptionalModules/UserStatistics/WebStatsModule.cs
+++ b/OpenSim/Region/OptionalModules/UserStatistics/WebStatsModule.cs
@@ -96,7 +96,7 @@ namespace OpenSim.Region.UserStatistics
96 96
97 //IConfig startupConfig = config.Configs["Startup"]; 97 //IConfig startupConfig = config.Configs["Startup"];
98 98
99 dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3"); 99 dbConn = new SqliteConnection("URI=file:" + Util.dbDir() + "/LocalUserStatistics.db,version=3");
100 dbConn.Open(); 100 dbConn.Open();
101 CreateTables(dbConn); 101 CreateTables(dbConn);
102 102
@@ -1200,4 +1200,4 @@ VALUES
1200 m_scriptLinesPerSecond = stats.ExtraStatsBlock[0].StatValue; 1200 m_scriptLinesPerSecond = stats.ExtraStatsBlock[0].StatValue;
1201 } 1201 }
1202 } 1202 }
1203} \ No newline at end of file 1203}