From d508b1f082b1135760e2fbb378c7e2b7330abc7f Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 4 Sep 2008 15:34:09 +0000 Subject: add some stubbing for ini.example for CMS module --- .../Modules/ContentManagementSystem/ContentManagementModule.cs | 8 ++++---- bin/OpenSim.ini.example | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs b/OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs index ba8876a..d5423e0 100644 --- a/OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs +++ b/OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs @@ -101,10 +101,10 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement if (source.Configs["CMS"] == null) return; - m_enabled = source.Configs["CMS"].GetBoolean("Enabled", false); - databaseDir = source.Configs["CMS"].GetString("Directory", databaseDir); - database = source.Configs["CMS"].GetString("Database", database); - channel = source.Configs["CMS"].GetInt("Channel", channel); + m_enabled = source.Configs["CMS"].GetBoolean("enabled", false); + databaseDir = source.Configs["CMS"].GetString("directory", databaseDir); + database = source.Configs["CMS"].GetString("database", database); + channel = source.Configs["CMS"].GetInt("channel", channel); if (database != "FileSystemDatabase" && database != "GitDatabase") { diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index ab1f2c6..20a2339 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -377,6 +377,12 @@ msgformat = "PRIVMSG {0} : {3} - {1} of {2}" ;for : - from : ;msgformat = "PRIVMSG {0} : {3} - from {1}" +; Uncomment the following for experiment in world versioning +; support. This is so experimental at this point that I'm not going +; to explain it further, you'll need to read the source code +;[CMS] +;enabled = true +;channel = 345 [Voice] ; PLEASE NOTE that we don't have voice support in OpenSim quite yet - these configuration options are stubs -- cgit v1.1