Use Path.Combine

This commit is contained in:
Joshua Boniface 2019-02-09 19:14:34 -05:00
parent 74d2698c5f
commit 382b8bb509

View File

@ -178,7 +178,7 @@ namespace Emby.Server.Implementations.AppBase
if (string.IsNullOrWhiteSpace(((BaseApplicationPaths)CommonApplicationPaths).CachePath)) if (string.IsNullOrWhiteSpace(((BaseApplicationPaths)CommonApplicationPaths).CachePath))
{ {
// Set cachePath to a default value under ProgramDataPath // Set cachePath to a default value under ProgramDataPath
cachePath = (((BaseApplicationPaths)CommonApplicationPaths).ProgramDataPath + "/cache"); cachePath = Path.Combine(((BaseApplicationPaths)CommonApplicationPaths).ProgramDataPath, "cache");
} }
else else
{ {