update cache path

This commit is contained in:
Luke Pulverenti 2015-12-03 11:46:20 -05:00
parent 9aea46f823
commit b9f1f38318

View File

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