diff options
author | Justin Clarke Casey | 2008-03-13 01:01:28 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-13 01:01:28 +0000 |
commit | 297887e1fc233ddfa2640aebd3432dbabe8f6ad8 (patch) | |
tree | 154f5a9be1d74492fbc811d1faa54e05ed59dcc7 /OpenSim/Region/Application | |
parent | * Change opensim.ini.example to flesh out database *_plugin options (diff) | |
download | opensim-SC_OLD-297887e1fc233ddfa2640aebd3432dbabe8f6ad8.zip opensim-SC_OLD-297887e1fc233ddfa2640aebd3432dbabe8f6ad8.tar.gz opensim-SC_OLD-297887e1fc233ddfa2640aebd3432dbabe8f6ad8.tar.bz2 opensim-SC_OLD-297887e1fc233ddfa2640aebd3432dbabe8f6ad8.tar.xz |
* Change opensim.ini.example guidance on asset_database setting to be "local" or "grid"
* See OpenSim.ini.example for more details
* The old sqlite/mssql settings were redundant and effectively ignored anyway. Hence, there's no need for you to change your current settings, which will still work
* In fact, asset_database should probably be moved to [Network] since it's meaningless for standalone installations
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index fd3a57f..1b8ed45 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -94,7 +94,7 @@ namespace OpenSim | |||
94 | private string m_standaloneAssetPlugin; | 94 | private string m_standaloneAssetPlugin; |
95 | private string m_standaloneUserPlugin; | 95 | private string m_standaloneUserPlugin; |
96 | 96 | ||
97 | private string m_assetStorage = "sqlite"; | 97 | private string m_assetStorage = "local"; |
98 | 98 | ||
99 | private string m_timedScript = "disabled"; | 99 | private string m_timedScript = "disabled"; |
100 | private Timer m_scriptTimer; | 100 | private Timer m_scriptTimer; |
@@ -278,7 +278,7 @@ namespace OpenSim | |||
278 | m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", String.Empty); | 278 | m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", String.Empty); |
279 | 279 | ||
280 | m_scriptEngine = startupConfig.GetString("script_engine", "OpenSim.Region.ScriptEngine.DotNetEngine.dll"); | 280 | m_scriptEngine = startupConfig.GetString("script_engine", "OpenSim.Region.ScriptEngine.DotNetEngine.dll"); |
281 | m_assetStorage = startupConfig.GetString("asset_database", "sqlite"); | 281 | m_assetStorage = startupConfig.GetString("asset_database", "local"); |
282 | 282 | ||
283 | m_timedScript = startupConfig.GetString("timer_Script", "disabled"); | 283 | m_timedScript = startupConfig.GetString("timer_Script", "disabled"); |
284 | } | 284 | } |
@@ -429,13 +429,6 @@ namespace OpenSim | |||
429 | { | 429 | { |
430 | assetServer = new GridAssetClient(m_networkServersInfo.AssetURL); | 430 | assetServer = new GridAssetClient(m_networkServersInfo.AssetURL); |
431 | } | 431 | } |
432 | else if (m_assetStorage == "mssql") | ||
433 | { | ||
434 | SQLAssetServer sqlAssetServer = new SQLAssetServer("OpenSim.Framework.Data.MSSQL.dll"); | ||
435 | sqlAssetServer.LoadDefaultAssets(); | ||
436 | assetServer = sqlAssetServer; | ||
437 | //assetServer = new GridAssetClient(String.Empty); | ||
438 | } | ||
439 | else | 432 | else |
440 | { | 433 | { |
441 | SQLAssetServer sqlAssetServer = new SQLAssetServer(m_standaloneAssetPlugin); | 434 | SQLAssetServer sqlAssetServer = new SQLAssetServer(m_standaloneAssetPlugin); |
@@ -444,7 +437,6 @@ namespace OpenSim | |||
444 | } | 437 | } |
445 | 438 | ||
446 | m_assetCache = new AssetCache(assetServer); | 439 | m_assetCache = new AssetCache(assetServer); |
447 | // m_assetCache = new assetCache("OpenSim.Region.GridInterfaces.Local.dll", m_networkServersInfo.AssetURL, m_networkServersInfo.AssetSendKey); | ||
448 | 440 | ||
449 | m_sceneManager.OnRestartSim += handleRestartRegion; | 441 | m_sceneManager.OnRestartSim += handleRestartRegion; |
450 | } | 442 | } |