AB3677 - Removed the Core.Composing.Current.. Moved stuff to Web.Composing.Current and injected more stuff.

This commit is contained in:
Bjarke Berg
2020-01-07 13:08:21 +01:00
parent 58f9b48e16
commit d2443ea4c0
113 changed files with 451 additions and 386 deletions

View File

@@ -78,7 +78,7 @@ namespace Umbraco.ModelsBuilder.Embedded.Configuration
value = ConfigurationManager.AppSettings[prefix + "ModelsDirectory"];
if (!string.IsNullOrWhiteSpace(value))
{
var root = Current.IOHelper.MapPath("~/");
var root = _ioHelper.MapPath("~/");
if (root == null)
throw new ConfigurationErrorsException("Could not determine root directory.");