@@ -31,21 +31,19 @@ public class GlobalSettings
31
31
internal const bool StaticSanitizeTinyMce = false ;
32
32
33
33
/// <summary>
34
- /// Gets or sets a value for the reserved URLs.
35
- /// It must end with a comma
34
+ /// Gets or sets a value for the reserved URLs (must end with a comma).
36
35
/// </summary>
37
36
[ DefaultValue ( StaticReservedUrls ) ]
38
37
public string ReservedUrls { get ; set ; } = StaticReservedUrls ;
39
38
40
39
/// <summary>
41
- /// Gets or sets a value for the reserved paths.
42
- /// It must end with a comma
40
+ /// Gets or sets a value for the reserved paths (must end with a comma).
43
41
/// </summary>
44
42
[ DefaultValue ( StaticReservedPaths ) ]
45
43
public string ReservedPaths { get ; set ; } = StaticReservedPaths ;
46
44
47
45
/// <summary>
48
- /// Gets or sets a value for the timeout
46
+ /// Gets or sets a value for the back-office login timeout.
49
47
/// </summary>
50
48
[ DefaultValue ( StaticTimeOut ) ]
51
49
public TimeSpan TimeOut { get ; set ; } = TimeSpan . Parse ( StaticTimeOut ) ;
@@ -104,11 +102,19 @@ public class GlobalSettings
104
102
public string UmbracoScriptsPath { get ; set ; } = StaticUmbracoScriptsPath ;
105
103
106
104
/// <summary>
107
- /// Gets or sets a value for the Umbraco media path.
105
+ /// Gets or sets a value for the Umbraco media request path.
108
106
/// </summary>
109
107
[ DefaultValue ( StaticUmbracoMediaPath ) ]
110
108
public string UmbracoMediaPath { get ; set ; } = StaticUmbracoMediaPath ;
111
109
110
+ /// <summary>
111
+ /// Gets or sets a value for the physical Umbraco media root path (falls back to <see cref="UmbracoMediaPath" /> when empty).
112
+ /// </summary>
113
+ /// <remarks>
114
+ /// If the value is a virtual path, it's resolved relative to the webroot.
115
+ /// </remarks>
116
+ public string UmbracoMediaPhysicalRootPath { get ; set ; }
117
+
112
118
/// <summary>
113
119
/// Gets or sets a value indicating whether to install the database when it is missing.
114
120
/// </summary>
@@ -130,6 +136,10 @@ public class GlobalSettings
130
136
/// Gets or sets a value for the main dom lock.
131
137
/// </summary>
132
138
public string MainDomLock { get ; set ; } = string . Empty ;
139
+
140
+ /// <summary>
141
+ /// Gets or sets the telemetry ID.
142
+ /// </summary>
133
143
public string Id { get ; set ; } = string . Empty ;
134
144
135
145
/// <summary>
@@ -163,19 +173,19 @@ public class GlobalSettings
163
173
/// </summary>
164
174
public bool IsPickupDirectoryLocationConfigured => ! string . IsNullOrWhiteSpace ( Smtp ? . PickupDirectoryLocation ) ;
165
175
166
- /// Gets a value indicating whether TinyMCE scripting sanitization should be applied
176
+ /// <summary>
177
+ /// Gets a value indicating whether TinyMCE scripting sanitization should be applied.
167
178
/// </summary>
168
179
[ DefaultValue ( StaticSanitizeTinyMce ) ]
169
180
public bool SanitizeTinyMce => StaticSanitizeTinyMce ;
170
181
171
182
/// <summary>
172
- /// An int value representing the time in milliseconds to lock the database for a write operation
183
+ /// Gets a value representing the time in milliseconds to lock the database for a write operation.
173
184
/// </summary>
174
185
/// <remarks>
175
- /// The default value is 5000 milliseconds
186
+ /// The default value is 5000 milliseconds.
176
187
/// </remarks>
177
- /// <value>The timeout in milliseconds.</value>
178
188
[ DefaultValue ( StaticSqlWriteLockTimeOut ) ]
179
189
public TimeSpan SqlWriteLockTimeOut { get ; } = TimeSpan . Parse ( StaticSqlWriteLockTimeOut ) ;
180
190
}
181
- }
191
+ }
0 commit comments