Fixed issues where we used the global setting UmbracoPath instead of the constant

This commit is contained in:
Bjarke Berg
2021-09-08 18:29:24 +02:00
parent 995595cce1
commit e284e30df5
3 changed files with 4 additions and 4 deletions

View File

@@ -347,7 +347,7 @@ namespace Umbraco.Cms.Web.Common.ModelsBuilder
}
public string PureLiveDirectoryAbsolute() => _hostingEnvironment.MapPathContentRoot("~/umbraco/Data/TEMP/PureLive");
public string PureLiveDirectoryAbsolute() => _hostingEnvironment.MapPathContentRoot(Core.Constants.SystemDirectories.TempData+"/InMemoryAuto");
// This is NOT thread safe but it is only called from within a lock