BetterCms.Module.Blog.Services.DefaultBlogMLService.GetContentRoot C# (CSharp) Method

GetContentRoot() private method

private GetContentRoot ( string rootPath ) : string
rootPath string
return string
        private string GetContentRoot(string rootPath)
        {
            if (cmsConfiguration.Storage.ServiceType == StorageServiceType.FileSystem && VirtualPathUtility.IsAppRelative(rootPath))
            {
                return httpContextAccessor.MapPath(rootPath);
            }

            return rootPath;
        }
    }