Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2006-02-01 22:50:10 +0300
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2006-02-01 22:50:10 +0300
commit2da259349819aa8332ca363e8f27020a22373094 (patch)
treeffdbfeff3b6d5edcda83675088b0c40bf2f50241 /mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
parent3ba5628d91ec75642e12fbc7bff0139a521210a4 (diff)
2006-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWorkerRequest.cs: implemented RootWebConfigPath. * HostingEnvironment.cs: implemented RegisterVirtualPathProvider and a few other defaults. svn path=/trunk/mcs/; revision=56412
Diffstat (limited to 'mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs')
-rw-r--r--mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs b/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
index a79587e968b..6d91f9d633e 100644
--- a/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
+++ b/mcs/class/System.Web/System.Web.Hosting/SimpleWorkerRequest.cs
@@ -33,6 +33,7 @@ using System.IO;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Permissions;
+using System.Web.Configuration;
using System.Web.UI;
using System.Web.Util;
@@ -114,9 +115,8 @@ namespace System.Web.Hosting {
}
}
#if NET_2_0
- [MonoTODO ("Gets the virtual path to the root web.config")]
public override string RootWebConfigPath {
- get { return null; }
+ get { return WebConfigurationManager.OpenWebConfiguration ("~").FilePath; }
}
#endif