Make console_port work.
parent
2b478a61d0
commit
ff55ae0eb2
|
@ -67,6 +67,7 @@ namespace OpenSim
|
||||||
base.ReadExtraConfigSettings();
|
base.ReadExtraConfigSettings();
|
||||||
|
|
||||||
IConfig startupConfig = m_config.Source.Configs["Startup"];
|
IConfig startupConfig = m_config.Source.Configs["Startup"];
|
||||||
|
IConfig networkConfig = m_config.Source.Configs["Network"];
|
||||||
|
|
||||||
int stpMaxThreads = 15;
|
int stpMaxThreads = 15;
|
||||||
|
|
||||||
|
@ -80,7 +81,8 @@ namespace OpenSim
|
||||||
else
|
else
|
||||||
m_consoleType= startupConfig.GetString("console", String.Empty);
|
m_consoleType= startupConfig.GetString("console", String.Empty);
|
||||||
|
|
||||||
m_consolePort = (uint)startupConfig.GetInt("console_port", 0);
|
if (networkConfig != null)
|
||||||
|
m_consolePort = (uint)networkConfig.GetInt("console_port", 0);
|
||||||
m_timedScript = startupConfig.GetString("timer_Script", "disabled");
|
m_timedScript = startupConfig.GetString("timer_Script", "disabled");
|
||||||
if (m_logFileAppender != null)
|
if (m_logFileAppender != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue