using System; namespace Umbraco.Core { public static partial class Constants { /// /// Specific web.config AppSetting keys for Umbraco.Core application /// public static class AppSettings { // TODO: Kill me - still used in Umbraco.Core.IO.SystemFiles:27 [Obsolete("We need to kill this appsetting as we do not use XML content cache umbraco.config anymore due to NuCache")] public const string ContentXML = "Umbraco.Core.ContentXML"; //umbracoContentXML /// /// TODO: FILL ME IN /// public const string RegisterType = "Umbraco.Core.RegisterType"; /// /// This is used for a unit test in PublishedMediaCache /// public const string PublishedMediaCacheSeconds = "Umbraco.Core.PublishedMediaCacheSeconds"; /// /// TODO: FILL ME IN /// public const string AssembliesAcceptingLoadExceptions = "Umbraco.Core.AssembliesAcceptingLoadExceptions"; /// /// This will return the version number of the currently installed umbraco instance /// /// /// Umbraco will automatically set & modify this value when installing & upgrading /// public const string ConfigurationStatus = "Umbraco.Core.ConfigurationStatus"; /// /// Gets the path to umbraco's root directory (/umbraco by default). /// public const string Path = "Umbraco.Core.Path"; /// /// The reserved urls from web.config. /// public const string ReservedUrls = "Umbraco.Core.ReservedUrls"; /// /// The reserved paths from web.config /// public const string ReservedPaths = "Umbraco.Core.ReservedPaths"; /// /// Set the timeout for the Umbraco backoffice in minutes /// public const string TimeOutInMinutes = "Umbraco.Core.TimeOutInMinutes"; /// /// The number of days to check for a new version of Umbraco /// /// /// Default is set to 7. Setting this to 0 will never check /// This is used to help track statistics /// public const string VersionCheckPeriod = "Umbraco.Core.VersionCheckPeriod"; /// /// This is the location type to store temporary files such as cache files or other localized files for a given machine /// /// /// Currently used for the xml cache file and the plugin cache files /// public const string LocalTempStorage = "Umbraco.Core.LocalTempStorage"; /// /// The default UI language of the backoffice such as 'en-US' /// public const string DefaultUILanguage = "Umbraco.Core.DefaultUILanguage"; /// /// A true/false value indicating whether umbraco should hide top level nodes from generated urls. /// public const string HideTopLevelNodeFromPath = "Umbraco.Core.HideTopLevelNodeFromPath"; /// /// A true or false indicating whether umbraco should force a secure (https) connection to the backoffice. /// public const string UseHttps = "Umbraco.Core.UseHttps"; /// /// TODO: FILL ME IN /// public const string DisableElectionForSingleServer = "Umbraco.Core.DisableElectionForSingleServer"; /// /// Debug specific web.config AppSetting keys for Umbraco /// /// /// Do not use these keys in a production environment /// public static class Debug { /// /// When set to true, Scope logs the stack trace for any scope that gets disposed without being completed. /// this helps troubleshooting rogue scopes that we forget to complete /// public const string LogUncompletedScopes = "Umbraco.Core.Debug.LogUncompletedScopes"; /// /// When set to true, the Logger creates a mini dump of w3wp in ~/App_Data/MiniDump whenever it logs /// an error due to a ThreadAbortException that is due to a timeout. /// public const string DumpOnTimeoutThreadAbort = "Umbraco.Core.Debug.DumpOnTimeoutThreadAbort"; /// /// TODO: FILL ME IN /// public const string DatabaseFactoryServerVersion = "Umbraco.Core.Debug.DatabaseFactoryServerVersion"; } } } }