Aligned property names in code with those in configuration.

This commit is contained in:
Andy Butland
2020-08-25 10:45:54 +02:00
parent 2c05718689
commit 967f0be705
32 changed files with 73 additions and 81 deletions

View File

@@ -78,7 +78,7 @@ namespace Umbraco.Web.Common.Install
{
case ValidateRequestAttempt.FailedNoPrivileges:
case ValidateRequestAttempt.FailedNoContextId:
return Redirect(_globalSettings.UmbracoPath + "/AuthorizeUpgrade?redir=" + Request.GetEncodedUrl());
return Redirect(_globalSettings.Path + "/AuthorizeUpgrade?redir=" + Request.GetEncodedUrl());
}
}
@@ -86,7 +86,7 @@ namespace Umbraco.Web.Common.Install
ViewData.SetInstallApiBaseUrl(Url.GetInstallerApiUrl());
// get the base umbraco folder
var baseFolder = _hostingEnvironment.ToAbsolute(_globalSettings.UmbracoPath);
var baseFolder = _hostingEnvironment.ToAbsolute(_globalSettings.Path);
ViewData.SetUmbracoBaseFolder(baseFolder);
ViewData.SetUmbracoVersion(_umbracoVersion.SemanticVersion);