use Path.DirectorySeparatorChar
This commit is contained in:
parent
54b20dcbb8
commit
f8b042b87d
|
@ -161,11 +161,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
/// <returns>System.String.</returns>
|
||||
private string GetDashboardResourcePath(string virtualPath)
|
||||
{
|
||||
#if __MonoCS__
|
||||
return Path.Combine(DashboardUIPath, virtualPath);
|
||||
#else
|
||||
return Path.Combine(DashboardUIPath, virtualPath.Replace('/', '\\'));
|
||||
#endif
|
||||
return Path.Combine(DashboardUIPath, virtualPath.Replace('/', Path.DirectorySeparatorChar));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user