ToSic.SexyContent.Internal.TemplateManager.GetTemplatePathRoot C# (CSharp) Method

GetTemplatePathRoot() public static method

Returns the location where Templates are stored for the current app
public static GetTemplatePathRoot ( string locationId, System.App app ) : string
locationId string
app System.App
return string
        public static string GetTemplatePathRoot(string locationId, App app)
        {
            var rootFolder = locationId == Settings.TemplateLocations.HostFileSystem
                ? Settings.PortalHostDirectory
                : app.OwnerPortalSettings.HomeDirectory;
            rootFolder += Settings.TemplateFolder + "/" + app.Folder;
            return rootFolder;
        }