瀏覽代碼

update cache path

Luke Pulverenti 9 年之前
父節點
當前提交
b9f1f38318
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      MediaBrowser.Common.Implementations/Configuration/BaseConfigurationManager.cs

+ 1 - 5
MediaBrowser.Common.Implementations/Configuration/BaseConfigurationManager.cs

@@ -174,13 +174,9 @@ namespace MediaBrowser.Common.Implementations.Configuration
             {
                 cachePath = null;
             }
-            else if (CommonConfiguration.EnableCustomPathSubFolders)
-            {
-                cachePath = Path.Combine(CommonConfiguration.CachePath, "cache");
-            }
             else
             {
-                cachePath = CommonConfiguration.CachePath;
+                cachePath = Path.Combine(CommonConfiguration.CachePath, "cache");
             }
 
             ((BaseApplicationPaths)CommonApplicationPaths).CachePath = cachePath;