From 4e643eba5ff4188a22e46173a179e0faf04c1237 Mon Sep 17 00:00:00 2001 From: alondria Date: Sat, 12 Jan 2008 17:10:06 +0000 Subject: If OpenSim.ini uses OpenSim.DataStore.MonoSqlite.dll, have it use OpenSim.Framework.Data.SQLite.dll during runtime. --- OpenSim/Region/Application/OpenSimMain.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 730e53a..1f0dd28 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -240,7 +240,11 @@ namespace OpenSim m_permissions = startupConfig.GetBoolean("serverside_object_permissions", false); - m_storageDll = startupConfig.GetString("storage_plugin", "OpenSim.DataStore.MonoSqlite.dll"); + m_storageDll = startupConfig.GetString("storage_plugin", "OpenSim.Framework.Data.SQLite.dll"); + if (m_storageDll == "OpenSim.DataStore.MonoSqlite.dll") + { + m_storageDll = "OpenSim.Framework.Data.SQLite.dll"; + } m_storageConnectionString = startupConfig.GetString("storage_connection_string", "URI=file:OpenSim.db,version=3"); m_storagePersistPrimInventories -- cgit v1.1