Moved stuff from SystemDirectories into constants and IOHelper to avoid a circular dependency

This commit is contained in:
Bjarke Berg
2019-11-13 11:26:03 +01:00
parent 42904d63aa
commit 683c0da468
78 changed files with 278 additions and 287 deletions

View File

@@ -209,7 +209,7 @@ namespace Umbraco.Web.Security
private static bool RequestIsInUmbracoApplication(HttpContextBase context)
{
return context.Request.Path.ToLower().IndexOf(Current.IOHelper.ResolveUrl(Current.SystemDirectories.Umbraco).ToLower(), StringComparison.Ordinal) > -1;
return context.Request.Path.ToLower().IndexOf(Current.IOHelper.ResolveUrl(Current.IOHelper.Umbraco).ToLower(), StringComparison.Ordinal) > -1;
}
/// <summary>