Forráskód Böngészése

added comment on bug related to last change here

svn path=/trunk/mcs/; revision=25401
Gonzalo Paniagua Javier 22 éve
szülő
commit
e5863ab02c

+ 3 - 0
mcs/class/System.Web/System.Web.Configuration/WebConfigurationSettings.cs

@@ -148,11 +148,14 @@ namespace System.Web.Configuration
 			string lower = Path.Combine (realpath, "web.config");
 			string upper = Path.Combine (realpath, "Web.config");
 			bool isUpper = File.Exists (upper);
+			// This is a workaround for bug #56938
 			// '\\' checks whether environment is Windows or not
 			bool isLower = (Path.DirectorySeparatorChar == '\\') ? false : File.Exists (lower);
 			if (isUpper && isLower && Directory.GetFiles (realpath, "Web.config").Length < 2)
 				throw new ConfigurationException ("Both web.config and Web.config exist for " + dir);
 
+			//
+
 			string wcfile = (isUpper) ? upper : (isLower) ? lower : null;
 			string tempDir = dir;
 			if (tempDir == HttpRuntime.AppDomainAppVirtualPath)