diff options
author | lbsa71 | 2007-09-25 01:20:30 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-25 01:20:30 +0000 |
commit | 2219ccc5b053d5c8885de113488dfb6718903435 (patch) | |
tree | 06bde077b98c0e8df228bec23aef8aa9b2eba39d /OpenSim/Region/Application | |
parent | More reorganizing of new SE. Added debug print of application exception. (diff) | |
download | opensim-SC_OLD-2219ccc5b053d5c8885de113488dfb6718903435.zip opensim-SC_OLD-2219ccc5b053d5c8885de113488dfb6718903435.tar.gz opensim-SC_OLD-2219ccc5b053d5c8885de113488dfb6718903435.tar.bz2 opensim-SC_OLD-2219ccc5b053d5c8885de113488dfb6718903435.tar.xz |
* Fixed Culture-variant parsing of config options
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 572f034..ec7c43d 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs | |||
@@ -29,6 +29,8 @@ using System; | |||
29 | using OpenSim.Framework.Console; | 29 | using OpenSim.Framework.Console; |
30 | using OpenSim.Region.Environment.Scenes; | 30 | using OpenSim.Region.Environment.Scenes; |
31 | using Nini.Config; | 31 | using Nini.Config; |
32 | using System.Threading; | ||
33 | using OpenSim.Framework; | ||
32 | 34 | ||
33 | namespace OpenSim | 35 | namespace OpenSim |
34 | { | 36 | { |
@@ -55,9 +57,7 @@ namespace OpenSim | |||
55 | 57 | ||
56 | Console.WriteLine("Starting...\n"); | 58 | Console.WriteLine("Starting...\n"); |
57 | 59 | ||
58 | // Set current culture | 60 | Culture.SetCurrentCulture(); |
59 | |||
60 | System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo(""); // en | ||
61 | 61 | ||
62 | ArgvConfigSource configSource = new ArgvConfigSource(args); | 62 | ArgvConfigSource configSource = new ArgvConfigSource(args); |
63 | 63 | ||
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index d3b4e49..dad6afd 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -44,6 +44,8 @@ using OpenSim.Region.Communications.OGS1; | |||
44 | using OpenSim.Region.Environment; | 44 | using OpenSim.Region.Environment; |
45 | using OpenSim.Region.Environment.Scenes; | 45 | using OpenSim.Region.Environment.Scenes; |
46 | using OpenSim.Region.Physics.Manager; | 46 | using OpenSim.Region.Physics.Manager; |
47 | using System.Globalization; | ||
48 | using RegionInfo=OpenSim.Framework.Types.RegionInfo; | ||
47 | 49 | ||
48 | namespace OpenSim | 50 | namespace OpenSim |
49 | { | 51 | { |