diff options
Diffstat (limited to 'OpenSim/Framework/General/Types/NetworkServersInfo.cs')
-rw-r--r-- | OpenSim/Framework/General/Types/NetworkServersInfo.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/OpenSim/Framework/General/Types/NetworkServersInfo.cs b/OpenSim/Framework/General/Types/NetworkServersInfo.cs index 73d7811..c6b81a7 100644 --- a/OpenSim/Framework/General/Types/NetworkServersInfo.cs +++ b/OpenSim/Framework/General/Types/NetworkServersInfo.cs | |||
@@ -156,6 +156,45 @@ namespace OpenSim.Framework.Types | |||
156 | this.GridRecvKey = attri; | 156 | this.GridRecvKey = attri; |
157 | } | 157 | } |
158 | 158 | ||
159 | //Grid Server | ||
160 | attri = ""; | ||
161 | attri = configData.GetAttribute("UserServerURL"); | ||
162 | if (attri == "") | ||
163 | { | ||
164 | this.UserURL= OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("User server URL", "http://127.0.0.1:8002/"); | ||
165 | configData.SetAttribute("UserServerURL", this.UserURL); | ||
166 | } | ||
167 | else | ||
168 | { | ||
169 | this.UserURL = attri; | ||
170 | } | ||
171 | |||
172 | //Grid Send Key | ||
173 | attri = ""; | ||
174 | attri = configData.GetAttribute("UserSendKey"); | ||
175 | if (attri == "") | ||
176 | { | ||
177 | this.UserSendKey = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Key to send to user server", "null"); | ||
178 | configData.SetAttribute("UserSendKey", this.UserSendKey); | ||
179 | } | ||
180 | else | ||
181 | { | ||
182 | this.UserSendKey = attri; | ||
183 | } | ||
184 | |||
185 | //Grid Receive Key | ||
186 | attri = ""; | ||
187 | attri = configData.GetAttribute("UserRecvKey"); | ||
188 | if (attri == "") | ||
189 | { | ||
190 | this.UserRecvKey = OpenSim.Framework.Console.MainLog.Instance.CmdPrompt("Key to expect from user server", "null"); | ||
191 | configData.SetAttribute("GridRecvKey", this.UserRecvKey); | ||
192 | } | ||
193 | else | ||
194 | { | ||
195 | this.UserRecvKey = attri; | ||
196 | } | ||
197 | |||
159 | attri = ""; | 198 | attri = ""; |
160 | attri = configData.GetAttribute("AssetServerURL"); | 199 | attri = configData.GetAttribute("AssetServerURL"); |
161 | if (attri == "") | 200 | if (attri == "") |