Fixes: #U4-2087

This commit is contained in:
Shannon Deminick
2013-04-12 02:11:01 +06:00
parent 3ff1b01e46
commit 26a7bf8187
8 changed files with 352 additions and 320 deletions

View File

@@ -670,6 +670,18 @@ namespace Umbraco.Core.Configuration
}
}
/// <summary>
/// File types that will not be allowed to be uploaded via the content/media upload control
/// </summary>
public static IEnumerable<string> DissallowedUploadFiles
{
get
{
var val = GetKey("/settings/content/dissallowedUploadFiles");
return val.Split(new[] {','}, StringSplitOptions.RemoveEmptyEntries);
}
}
/// <summary>
/// Gets the allowed image file types.
/// </summary>