aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/Application.cs
diff options
context:
space:
mode:
authorTedd Hansen2007-08-13 18:33:03 +0000
committerTedd Hansen2007-08-13 18:33:03 +0000
commitc2c21ea170c3ae5a8f6ee4d5382a603211114bac (patch)
tree295d295b8174d51361b50a86abddd5e2f3755284 /OpenSim/Region/Application/Application.cs
parentSome more work on SceneObjectGroup (diff)
downloadopensim-SC-c2c21ea170c3ae5a8f6ee4d5382a603211114bac.zip
opensim-SC-c2c21ea170c3ae5a8f6ee4d5382a603211114bac.tar.gz
opensim-SC-c2c21ea170c3ae5a8f6ee4d5382a603211114bac.tar.bz2
opensim-SC-c2c21ea170c3ae5a8f6ee4d5382a603211114bac.tar.xz
Setting culture for startup thread to invariant. Config now read correctly on alternate regional settings.
Diffstat (limited to 'OpenSim/Region/Application/Application.cs')
-rw-r--r--OpenSim/Region/Application/Application.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index 954d3c3..f16aca8 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -38,7 +38,9 @@ namespace OpenSim
38 [STAThread] 38 [STAThread]
39 public static void Main(string[] args) 39 public static void Main(string[] args)
40 { 40 {
41
41 Console.WriteLine("OpenSim " + VersionInfo.Version + "\n"); 42 Console.WriteLine("OpenSim " + VersionInfo.Version + "\n");
43
42 44
43 Console.Write("Performing compatibility checks... "); 45 Console.Write("Performing compatibility checks... ");
44 string supported = ""; 46 string supported = "";
@@ -53,6 +55,10 @@ namespace OpenSim
53 55
54 Console.WriteLine("Starting...\n"); 56 Console.WriteLine("Starting...\n");
55 57
58 // Set current culture
59
60 System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo(""); // en
61
56 ArgvConfigSource configSource = new ArgvConfigSource(args); 62 ArgvConfigSource configSource = new ArgvConfigSource(args);
57 63
58 configSource.AddSwitch("Startup", "inifile"); 64 configSource.AddSwitch("Startup", "inifile");