diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services/Connectors/Simulation/EstateDataService.cs')
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/EstateDataService.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/EstateDataService.cs b/OpenSim/Services/Connectors/Simulation/EstateDataService.cs index 87c49d3..2eedebb 100644 --- a/OpenSim/Services/Connectors/Simulation/EstateDataService.cs +++ b/OpenSim/Services/Connectors/Simulation/EstateDataService.cs | |||
@@ -65,6 +65,14 @@ namespace OpenSim.Services.Connectors | |||
65 | connString = dbConfig.GetString("ConnectionString", String.Empty); | 65 | connString = dbConfig.GetString("ConnectionString", String.Empty); |
66 | } | 66 | } |
67 | 67 | ||
68 | // Try reading the [EstateDataStore] section, if it exists | ||
69 | IConfig estConfig = config.Configs["EstateDataStore"]; | ||
70 | if (estConfig != null) | ||
71 | { | ||
72 | dllName = estConfig.GetString("StorageProvider", dllName); | ||
73 | connString = dbConfig.GetString("ConnectionString", connString); | ||
74 | } | ||
75 | |||
68 | // We tried, but this doesn't exist. We can't proceed | 76 | // We tried, but this doesn't exist. We can't proceed |
69 | if (dllName == String.Empty) | 77 | if (dllName == String.Empty) |
70 | throw new Exception("No StorageProvider configured"); | 78 | throw new Exception("No StorageProvider configured"); |