diff options
author | Sean Dague | 2008-04-23 19:13:06 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-23 19:13:06 +0000 |
commit | a1cc0e436ff9081f3c0a76de861ed0673cd36142 (patch) | |
tree | 31d775f3e17109b5b6765e89b73da9f036172328 /OpenSim/Data/MSSQL/MSSQLAssetData.cs | |
parent | * Fix a console issue where pressing return on some operating systems cause t... (diff) | |
download | opensim-SC-a1cc0e436ff9081f3c0a76de861ed0673cd36142.zip opensim-SC-a1cc0e436ff9081f3c0a76de861ed0673cd36142.tar.gz opensim-SC-a1cc0e436ff9081f3c0a76de861ed0673cd36142.tar.bz2 opensim-SC-a1cc0e436ff9081f3c0a76de861ed0673cd36142.tar.xz |
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.
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLAssetData.cs')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLAssetData.cs | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
191 | 191 | ||
192 | #region IPlugin Members | 192 | #region IPlugin Members |
193 | 193 | ||
194 | override public void Initialise(string connect) | ||
195 | { | ||
196 | // TODO: this would allow you to pass in connnect info as | ||
197 | // a string instead of file, if someone writes the support | ||
198 | Initialise(); | ||
199 | } | ||
200 | |||
194 | override public void Initialise() | 201 | override public void Initialise() |
195 | { | 202 | { |
196 | IniFile GridDataMySqlFile = new IniFile("mssql_connection.ini"); | 203 | IniFile GridDataMySqlFile = new IniFile("mssql_connection.ini"); |