Skip to content

Commit 884ce98

Browse files
committed
Merge remote-tracking branch 'origin/v9/9.0' into v9/dev
2 parents 6d3f407 + b6d3e2d commit 884ce98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.Common/AspNetCore/AspNetCoreHostingEnvironment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public string LocalTempPath
115115
// hopefully it gets a new Guid or new application id?
116116
string hashString = SiteName + "::" + ApplicationId;
117117
string hash = hashString.GenerateHash();
118-
string siteTemp = Path.Combine(Environment.ExpandEnvironmentVariables("%temp%"), "UmbracoData", hash);
118+
string siteTemp = Path.Combine(Path.GetTempPath(), "UmbracoData", hash);
119119

120120
return _localTempPath = siteTemp;
121121

0 commit comments

Comments
 (0)