aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 9e79505..bd18116 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -94,6 +94,7 @@ namespace OpenSim
94 protected string m_standaloneInventoryPlugin; 94 protected string m_standaloneInventoryPlugin;
95 protected string m_standaloneAssetPlugin; 95 protected string m_standaloneAssetPlugin;
96 protected string m_standaloneUserPlugin; 96 protected string m_standaloneUserPlugin;
97
97 private string m_standaloneInventorySource; 98 private string m_standaloneInventorySource;
98 private string m_standaloneAssetSource; 99 private string m_standaloneAssetSource;
99 private string m_standaloneUserSource; 100 private string m_standaloneUserSource;
@@ -156,12 +157,16 @@ namespace OpenSim
156 if (Directory.Exists("addin-db-001")) 157 if (Directory.Exists("addin-db-001"))
157 Directory.Delete("addin-db-001", true); 158 Directory.Delete("addin-db-001", true);
158 159
159 160 //This blocks the scanning warnings from outputing to the console.
160 m_log.Info("[OPENSIM MAIN]: PLEASE IGNORE THE SCANNING ERRORS BELOW. These are the result of a temporary problem with our plugins manager."); 161 TextWriter oldOutput = Console.Out;
162 Console.SetOut(new StreamWriter(Stream.Null));
161 163
162 AddinManager.Initialize("."); 164 AddinManager.Initialize(".");
163 AddinManager.Registry.Update(null); 165 AddinManager.Registry.Update(null);
164 166
167 //Returns the console.writelines back to the console's stream
168 Console.SetOut(oldOutput);
169
165 Application.iniFilePath = startupConfig.GetString("inifile", "OpenSim.ini"); 170 Application.iniFilePath = startupConfig.GetString("inifile", "OpenSim.ini");
166 171
167 m_config = new IniConfigSource(); 172 m_config = new IniConfigSource();