mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
bad merge
This commit is contained in:
@@ -78,7 +78,6 @@ namespace OpenSim
|
||||
|
||||
AppContext.SetSwitch("System.Drawing.EnableUnixSupport", true);
|
||||
|
||||
|
||||
// pre load System.Drawing.Common.dll for the platform
|
||||
// this will fail if a newer version is present on GAC, bin folder, etc, since LoadFrom only accepts the path, if it cannot find it elsewhere
|
||||
string targetdll = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),"lib",
|
||||
@@ -92,7 +91,7 @@ namespace OpenSim
|
||||
m_log.Error("Failed to load System.Drawing.Common.dll for current platform" + e.Message);
|
||||
throw;
|
||||
}
|
||||
*/
|
||||
|
||||
string targetdll = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
|
||||
"System.Drawing.Common.dll");
|
||||
string src = targetdll + (Util.IsWindows() ? ".win" : ".linux");
|
||||
@@ -126,7 +125,7 @@ namespace OpenSim
|
||||
|
||||
// Configure Log4Net
|
||||
configSource.AddSwitch("Startup", "logconfig");
|
||||
string logConfigFile = configSource.Configs["Startup"].GetString("logconfig", String.Empty);
|
||||
string logConfigFile = configSource.Configs["Startup"].GetString("logconfig", string.Empty);
|
||||
if (!string.IsNullOrEmpty(logConfigFile))
|
||||
{
|
||||
XmlConfigurator.Configure(new System.IO.FileInfo(logConfigFile));
|
||||
|
||||
Reference in New Issue
Block a user