From e8c1de8e7298e6c210a89b2449d636493f516c5e Mon Sep 17 00:00:00 2001 From: Tleiades Hax Date: Sat, 13 Oct 2007 09:10:53 +0000 Subject: --- OpenSim/Region/Application/OpenSimMain.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 20152d8..7af8064 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -80,6 +80,7 @@ namespace OpenSim private string standaloneWelcomeMessage = null; private string standaloneInventoryPlugin = "OpenSim.Framework.Data.SQLite.dll"; private string standaloneUserPlugin = "OpenSim.Framework.Data.DB4o.dll"; + private string standaloneAssetPlugin = "OpenSim.Framework.Data.SQLite.dll"; private string m_assetStorage = "db4o"; @@ -131,6 +132,7 @@ namespace OpenSim standaloneAuthenticate = configSource.Configs["StandAlone"].GetBoolean("accounts_authenticate", false); standaloneWelcomeMessage = configSource.Configs["StandAlone"].GetString("welcome_message", "Welcome to OpenSim"); standaloneInventoryPlugin = configSource.Configs["StandAlone"].GetString("inventory_plugin", "OpenSim.Framework.Data.SQLite.dll"); + standaloneAssetPlugin = configSource.Configs["StandAlone"].GetString("userDatabase_plugin", "OpenSim.Framework.Data.SQLite.dll"); standaloneUserPlugin = configSource.Configs["StandAlone"].GetString("userDatabase_plugin", "OpenSim.Framework.Data.DB4o.dll"); m_networkServersInfo.loadFromConfiguration(configSource); @@ -283,7 +285,7 @@ namespace OpenSim } else { - assetServer = new SQLAssetServer("OpenSim.Framework.Data.SQLite.dll"); + assetServer = new SQLAssetServer(standaloneAssetPlugin); } assetServer.SetServerInfo(m_networkServersInfo.AssetURL, m_networkServersInfo.AssetSendKey); m_assetCache = new AssetCache(assetServer); -- cgit v1.1