Fix the AssetServiceBase bug I introduced by reordering configuration load

order. Thanks, Grumly57, for pointing it out.
The point of the original change was to let the more specific setting override
the less specific one, actually, I disabled the use of the less specific one.
This commit is contained in:
Melanie Thielker
2009-06-23 08:37:12 +00:00
parent 1d9ec1da69
commit 7f4a3392fc

View File

@@ -61,9 +61,9 @@ namespace OpenSim.Services.AssetService
IConfig dbConfig = config.Configs["DatabaseService"];
if (dbConfig != null)
{
if (dllName != String.Empty)
if (dllName == String.Empty)
dllName = dbConfig.GetString("StorageProvider", String.Empty);
if (connString != String.Empty)
if (connString == String.Empty)
connString = dbConfig.GetString("ConnectionString", String.Empty);
}