Add support for specifying non-default StorageProvider
parent
a15282f023
commit
9c7b28341c
|
@ -72,6 +72,9 @@ namespace OpenSim.Services.ProfilesService
|
||||||
IConfig ProfilesConfig = config.Configs[configName];
|
IConfig ProfilesConfig = config.Configs[configName];
|
||||||
if (ProfilesConfig != null)
|
if (ProfilesConfig != null)
|
||||||
{
|
{
|
||||||
|
if (dllName == String.Empty)
|
||||||
|
dllName = dbConfig.GetString("StorageProvider", String.Empty);
|
||||||
|
|
||||||
connString = ProfilesConfig.GetString("ConnectionString", connString);
|
connString = ProfilesConfig.GetString("ConnectionString", connString);
|
||||||
realm = ProfilesConfig.GetString("Realm", realm);
|
realm = ProfilesConfig.GetString("Realm", realm);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue