mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
allow for Inventory database source to be specified in main
configs. This works with sqlite and nhibernate backends, and stays with default seperate ini files for mysql and mssql until someone writes those.
This commit is contained in:
@@ -46,7 +46,7 @@ namespace OpenSim.Framework.Communications
|
||||
/// Adds a new user server plugin - plugins will be requested in the order they were loaded.
|
||||
/// </summary>
|
||||
/// <param name="FileName">The filename to the user server plugin DLL</param>
|
||||
public void AddPlugin(string FileName)
|
||||
public void AddPlugin(string FileName, string connect)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(FileName))
|
||||
{
|
||||
@@ -63,7 +63,7 @@ namespace OpenSim.Framework.Communications
|
||||
{
|
||||
IInventoryData plug =
|
||||
(IInventoryData) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString()));
|
||||
plug.Initialise();
|
||||
plug.Initialise(connect);
|
||||
m_plugins.Add(plug.getName(), plug);
|
||||
m_log.Info("[AGENTINVENTORY]: Added IInventoryData Interface");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user