use Path.DirectorySeparatorChar

This commit is contained in:
Luke Pulverenti 2013-10-05 10:19:29 -04:00
parent 54b20dcbb8
commit f8b042b87d

View file

@ -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>