Interface IGlobalSettings
Contains general settings information for the entire Umbraco instance based on information from web.config appsettings
Namespace: Umbraco.Core.Configuration
Assembly: Umbraco.Core.dll
Syntax
public interface IGlobalSettings
Properties
View SourceConfigurationStatus
Gets or sets the configuration status. This will return the version number of the currently installed umbraco instance.
Declaration
string ConfigurationStatus { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DefaultUILanguage
Gets the default UI language.
Declaration
string DefaultUILanguage { get; }
Property Value
Type | Description |
---|---|
System.String | The default UI language. |
HideTopLevelNodeFromPath
Gets a value indicating whether umbraco should hide top level nodes from generated URLs.
Declaration
bool HideTopLevelNodeFromPath { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IconsPath
Gets the path to umbraco's icons directory (/umbraco/assets/icons by default).
Declaration
string IconsPath { get; }
Property Value
Type | Description |
---|---|
System.String |
LocalTempPath
Gets the location of temporary files.
Declaration
string LocalTempPath { get; }
Property Value
Type | Description |
---|---|
System.String |
LocalTempStorageLocation
Gets the configuration for the location of temporary files.
Declaration
LocalTempStorage LocalTempStorageLocation { get; }
Property Value
Type | Description |
---|---|
LocalTempStorage |
Path
Gets the path to umbraco's root directory (/umbraco by default).
Declaration
string Path { get; }
Property Value
Type | Description |
---|---|
System.String |
ReservedPaths
Gets the reserved paths from web.config
Declaration
string ReservedPaths { get; }
Property Value
Type | Description |
---|---|
System.String | The reserved paths. |
ReservedUrls
Gets the reserved URLs from web.config.
Declaration
string ReservedUrls { get; }
Property Value
Type | Description |
---|---|
System.String | The reserved URLs. |
SanitizeTinyMce
Returns true if TinyMCE scripting sanitization should be applied
Declaration
bool SanitizeTinyMce { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SqlWriteLockTimeOut
Gets the write lock timeout.
Declaration
int SqlWriteLockTimeOut { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TimeOutInMinutes
Gets the time out in minutes.
Declaration
int TimeOutInMinutes { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
UseHttps
Gets a value indicating whether umbraco should force a secure (https) connection to the backoffice.
Declaration
bool UseHttps { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
VersionCheckPeriod
Returns a string value to determine if umbraco should skip version-checking.
Declaration
int VersionCheckPeriod { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The version check period in days (0 = never). |