mirror of
https://github.com/opensim/opensim.git
synced 2026-05-16 11:46:04 +08:00
Load appropriate 32-bit/64-bit Windows sqlite dll if using WebStatsModule.
This should resolve http://opensimulator.org/mantis/view.php?id=5901
This commit is contained in:
@@ -83,6 +83,9 @@ namespace OpenSim.Region.UserStatistics
|
||||
{
|
||||
if (m_scenes.Count == 0)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||
|
||||
//IConfig startupConfig = config.Configs["Startup"];
|
||||
|
||||
dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3");
|
||||
|
||||
Reference in New Issue
Block a user