From a1cc0e436ff9081f3c0a76de861ed0673cd36142 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 23 Apr 2008 19:13:06 +0000 Subject: changes to allow asset_source to be specified in the opensim.ini this will work for sqlite and nhibernate, but will be ignored for mysql and mssql (reverting to their ini files) until someone writes that bit. --- OpenSim/Data/MSSQL/MSSQLAssetData.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Data/MSSQL') diff --git a/OpenSim/Data/MSSQL/MSSQLAssetData.cs b/OpenSim/Data/MSSQL/MSSQLAssetData.cs index 2029b80..d837e4e 100644 --- a/OpenSim/Data/MSSQL/MSSQLAssetData.cs +++ b/OpenSim/Data/MSSQL/MSSQLAssetData.cs @@ -191,6 +191,13 @@ namespace OpenSim.Data.MSSQL #region IPlugin Members + override public void Initialise(string connect) + { + // TODO: this would allow you to pass in connnect info as + // a string instead of file, if someone writes the support + Initialise(); + } + override public void Initialise() { IniFile GridDataMySqlFile = new IniFile("mssql_connection.ini"); -- cgit v1.1