diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Base/ServicesServerBase.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs index 0cff6ed..2f12288 100644 --- a/OpenSim/Server/Base/ServicesServerBase.cs +++ b/OpenSim/Server/Base/ServicesServerBase.cs | |||
@@ -64,6 +64,12 @@ namespace OpenSim.Server.Base | |||
64 | get { return m_Config; } | 64 | get { return m_Config; } |
65 | } | 65 | } |
66 | 66 | ||
67 | public string ConfigDirectory | ||
68 | { | ||
69 | get; | ||
70 | private set; | ||
71 | } | ||
72 | |||
67 | // Run flag | 73 | // Run flag |
68 | // | 74 | // |
69 | private bool m_Running = true; | 75 | private bool m_Running = true; |
@@ -153,6 +159,8 @@ namespace OpenSim.Server.Base | |||
153 | startupConfig = m_Config.Configs["Startup"]; | 159 | startupConfig = m_Config.Configs["Startup"]; |
154 | } | 160 | } |
155 | 161 | ||
162 | ConfigDirectory = startupConfig.GetString("ConfigDirectory", "."); | ||
163 | |||
156 | prompt = startupConfig.GetString("Prompt", prompt); | 164 | prompt = startupConfig.GetString("Prompt", prompt); |
157 | 165 | ||
158 | // Allow derived classes to load config before the console is | 166 | // Allow derived classes to load config before the console is |