소스 검색

Use Path.Combine

Joshua Boniface 6 년 전
부모
커밋
382b8bb509
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs

+ 1 - 1
Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs

@@ -178,7 +178,7 @@ namespace Emby.Server.Implementations.AppBase
                 if (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
                 {