The Free Software Media System - Server Backend & API
Use Path.Combine
Joshua Boniface382b8bb509bb
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.csindex cf07cb1ecf..5feac1adf9 100644--- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs+++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs@@ -178,7 +178,7 @@ namespace Emby.Server.Implementations.AppBaseif (string.IsNullOrWhiteSpace(((BaseApplicationPaths)CommonApplicationPaths).CachePath)){// Set cachePath to a default value under ProgramDataPath- cachePath = (((BaseApplicationPaths)CommonApplicationPaths).ProgramDataPath + "/cache");+ cachePath = Path.Combine(((BaseApplicationPaths)CommonApplicationPaths).ProgramDataPath, "cache");}else{