Avoid usage of IOHelper in GlobalSettings

This commit is contained in:
Bjarke Berg
2020-03-13 10:00:03 +01:00
parent 6fafe0408d
commit ea15fdb14e
31 changed files with 99 additions and 82 deletions

View File

@@ -74,7 +74,7 @@ namespace Umbraco.Web.Install.Controllers
_installHelper.InstallStatus(false, "");
// always ensure full path (see NOTE in the class remarks)
return View(_globalSettings.Path.EnsureEndsWith('/') + "install/views/index.cshtml");
return View(_ioHelper.BackOfficePath.EnsureEndsWith('/') + "install/views/index.cshtml");
}
}
}