diff options
author | Adam Frisby | 2007-04-27 21:11:02 +0000 |
---|---|---|
committer | Adam Frisby | 2007-04-27 21:11:02 +0000 |
commit | 6ce5b6e439e304ba8ce27a9e5bad3146feedd7f0 (patch) | |
tree | fa25cc297d83f70080b21f78e3bc04d32df5b00f /OpenSim.RegionServer/world/World.cs | |
parent | * Added new commandline option -config <configfile.xml> (diff) | |
download | opensim-SC_OLD-6ce5b6e439e304ba8ce27a9e5bad3146feedd7f0.zip opensim-SC_OLD-6ce5b6e439e304ba8ce27a9e5bad3146feedd7f0.tar.gz opensim-SC_OLD-6ce5b6e439e304ba8ce27a9e5bad3146feedd7f0.tar.bz2 opensim-SC_OLD-6ce5b6e439e304ba8ce27a9e5bad3146feedd7f0.tar.xz |
Major ass commit
Added new "Datastore" parameter to simconfig.xml which is passed to storage engines via a new Initialise() function.
Diffstat (limited to 'OpenSim.RegionServer/world/World.cs')
-rw-r--r-- | OpenSim.RegionServer/world/World.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/world/World.cs b/OpenSim.RegionServer/world/World.cs index 0e5dbf0..5443d38 100644 --- a/OpenSim.RegionServer/world/World.cs +++ b/OpenSim.RegionServer/world/World.cs | |||
@@ -44,6 +44,8 @@ namespace OpenSim.world | |||
44 | private AssetCache _assetCache; | 44 | private AssetCache _assetCache; |
45 | private Mutex updateLock; | 45 | private Mutex updateLock; |
46 | 46 | ||
47 | public string m_datastore; | ||
48 | |||
47 | /// <summary> | 49 | /// <summary> |
48 | /// Creates a new World class, and a region to go with it. | 50 | /// Creates a new World class, and a region to go with it. |
49 | /// </summary> | 51 | /// </summary> |
@@ -257,6 +259,8 @@ namespace OpenSim.world | |||
257 | { | 259 | { |
258 | ILocalStorage plug = (ILocalStorage)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | 260 | ILocalStorage plug = (ILocalStorage)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); |
259 | store = plug; | 261 | store = plug; |
262 | |||
263 | store.Initialise(this.m_datastore); | ||
260 | break; | 264 | break; |
261 | } | 265 | } |
262 | 266 | ||