add server management to web client

This commit is contained in:
Luke Pulverenti
2014-11-04 07:41:12 -05:00
parent 7ca1cd8795
commit 60d3f47503
72 changed files with 20510 additions and 18390 deletions

View File

@@ -390,5 +390,22 @@ namespace MediaBrowser.Common.Implementations.IO
{
return Path.GetFileNameWithoutExtension(path);
}
public bool IsPathFile(string path)
{
if (string.IsNullOrWhiteSpace(path))
{
throw new ArgumentNullException("path");
}
//if (path.IndexOf("://", StringComparison.OrdinalIgnoreCase) != -1 &&
// !path.StartsWith("file://", StringComparison.OrdinalIgnoreCase))
//{
// return false;
//}
//return true;
return Path.IsPathRooted(path);
}
}
}