mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
Use Path.Combine
This commit is contained in:
parent
74d2698c5f
commit
382b8bb509
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue