aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2008-09-04 15:34:09 +0000
committerSean Dague2008-09-04 15:34:09 +0000
commitd508b1f082b1135760e2fbb378c7e2b7330abc7f (patch)
tree49d4c2b554f87ce1a04b54c497d6c5a24c63f371
parentMantis #2111 (diff)
downloadopensim-SC-d508b1f082b1135760e2fbb378c7e2b7330abc7f.zip
opensim-SC-d508b1f082b1135760e2fbb378c7e2b7330abc7f.tar.gz
opensim-SC-d508b1f082b1135760e2fbb378c7e2b7330abc7f.tar.bz2
opensim-SC-d508b1f082b1135760e2fbb378c7e2b7330abc7f.tar.xz
add some stubbing for ini.example for CMS module
-rw-r--r--OpenSim/Region/Environment/Modules/ContentManagementSystem/ContentManagementModule.cs8
-rw-r--r--bin/OpenSim.ini.example6
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
101 if (source.Configs["CMS"] == null) 101 if (source.Configs["CMS"] == null)
102 return; 102 return;
103 103
104 m_enabled = source.Configs["CMS"].GetBoolean("Enabled", false); 104 m_enabled = source.Configs["CMS"].GetBoolean("enabled", false);
105 databaseDir = source.Configs["CMS"].GetString("Directory", databaseDir); 105 databaseDir = source.Configs["CMS"].GetString("directory", databaseDir);
106 database = source.Configs["CMS"].GetString("Database", database); 106 database = source.Configs["CMS"].GetString("database", database);
107 channel = source.Configs["CMS"].GetInt("Channel", channel); 107 channel = source.Configs["CMS"].GetInt("channel", channel);
108 108
109 if (database != "FileSystemDatabase" && database != "GitDatabase") 109 if (database != "FileSystemDatabase" && database != "GitDatabase")
110 { 110 {
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}"
377;for <bot>:<message> - from <user> : 377;for <bot>:<message> - from <user> :
378;msgformat = "PRIVMSG {0} : {3} - from {1}" 378;msgformat = "PRIVMSG {0} : {3} - from {1}"
379 379
380; Uncomment the following for experiment in world versioning
381; support. This is so experimental at this point that I'm not going
382; to explain it further, you'll need to read the source code
383;[CMS]
384;enabled = true
385;channel = 345
380 386
381[Voice] 387[Voice]
382; PLEASE NOTE that we don't have voice support in OpenSim quite yet - these configuration options are stubs 388; PLEASE NOTE that we don't have voice support in OpenSim quite yet - these configuration options are stubs