From f8b042b87d3b6f17974d1743552575edf542de24 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 5 Oct 2013 10:19:29 -0400 Subject: [PATCH] use Path.DirectorySeparatorChar --- MediaBrowser.WebDashboard/Api/DashboardService.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.cs index 5ebeaf24a..992931947 100644 --- a/MediaBrowser.WebDashboard/Api/DashboardService.cs +++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs @@ -161,11 +161,7 @@ namespace MediaBrowser.WebDashboard.Api /// System.String. 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)); } ///