private IRenderer FindRenderer(ref string relativePath, IPathProvider pathProvider, bool isDir)
		{
			if (isDir)
			{
				string tmpPath = null;
				for (int i = 0; i < _defaulList.Count; i++)
				{
					var def = _defaulList[i];
					tmpPath = relativePath.TrimEnd('/') + '/' + def;
					if (pathProvider.Exists(tmpPath, out isDir))
					{
						if (!isDir) break;
					}
					tmpPath = null;
				}
				if (tmpPath != null)
				{
					relativePath = tmpPath;
				}
			}
			var renderer = GetPossibleRenderer(relativePath);
			return renderer;
		}