add some stubbing for ini.example for CMS module

0.6.0-stable
Sean Dague 2008-09-04 15:34:09 +00:00
parent eee9c114cb
commit d508b1f082
2 changed files with 10 additions and 4 deletions

View File

@ -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")
{

View File

@ -377,6 +377,12 @@ msgformat = "PRIVMSG {0} : {3} - {1} of {2}"
;for <bot>:<message> - from <user> :
;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