2021-02-18 11:06:02 +01:00
|
|
|
namespace Umbraco.Cms.Core
|
2019-11-13 11:26:03 +01:00
|
|
|
{
|
|
|
|
|
public static partial class Constants
|
|
|
|
|
{
|
|
|
|
|
public static class SystemDirectories
|
|
|
|
|
{
|
2020-12-08 11:08:14 +11:00
|
|
|
/// <summary>
|
|
|
|
|
/// The aspnet bin folder
|
|
|
|
|
/// </summary>
|
2019-11-13 11:26:03 +01:00
|
|
|
public const string Bin = "~/bin";
|
|
|
|
|
|
2020-12-08 11:08:14 +11:00
|
|
|
// TODO: Shouldn't this exist underneath /Umbraco in the content root?
|
2019-11-13 11:26:03 +01:00
|
|
|
public const string Config = "~/config";
|
|
|
|
|
|
2020-12-08 11:08:14 +11:00
|
|
|
/// <summary>
|
|
|
|
|
/// The Umbraco folder that exists at the content root.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>
|
|
|
|
|
/// This is not the same as the Umbraco web folder which is configurable for serving front-end files.
|
|
|
|
|
/// </remarks>
|
2020-12-16 22:26:47 +01:00
|
|
|
public const string Umbraco = "~/umbraco";
|
2020-12-08 11:08:14 +11:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The Umbraco data folder in the content root
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string Data = Umbraco + "/Data";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The Umbraco temp data folder in the content root
|
|
|
|
|
/// </summary>
|
2019-11-13 11:26:03 +01:00
|
|
|
public const string TempData = Data + "/TEMP";
|
|
|
|
|
|
|
|
|
|
public const string TempFileUploads = TempData + "/FileUploads";
|
|
|
|
|
|
|
|
|
|
public const string TempImageUploads = TempFileUploads + "/rte";
|
|
|
|
|
|
|
|
|
|
public const string Install = "~/install";
|
|
|
|
|
|
2020-11-03 14:14:01 +01:00
|
|
|
public const string AppPlugins = "/App_Plugins";
|
2021-03-19 16:17:39 +01:00
|
|
|
public static string AppPluginIcons => "/Backoffice/Icons";
|
2019-11-13 11:26:03 +01:00
|
|
|
|
|
|
|
|
public const string MvcViews = "~/Views";
|
|
|
|
|
|
|
|
|
|
public const string PartialViews = MvcViews + "/Partials/";
|
|
|
|
|
|
|
|
|
|
public const string MacroPartials = MvcViews + "/MacroPartials/";
|
|
|
|
|
|
|
|
|
|
public const string Packages = Data + "/packages";
|
|
|
|
|
|
|
|
|
|
public const string Preview = Data + "/preview";
|
2020-08-26 08:05:15 +02:00
|
|
|
|
2020-12-08 11:08:14 +11:00
|
|
|
/// <summary>
|
|
|
|
|
/// The default folder where Umbraco log files are stored
|
|
|
|
|
/// </summary>
|
|
|
|
|
public const string LogFiles = Umbraco + "/Logs";
|
2019-11-13 11:26:03 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|