Add support for specifying non-default StorageProvider

0.8.0.3
BlueWall 2014-03-27 12:36:30 -04:00
parent a15282f023
commit 9c7b28341c
1 changed files with 3 additions and 0 deletions

View File

@ -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);
} }