fixes typo on word disallow

This commit is contained in:
Shannon Deminick
2013-04-19 04:20:24 +06:00
parent e9c4a031c9
commit c0fd974cc1
5 changed files with 8 additions and 6 deletions

View File

@@ -673,7 +673,7 @@ 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
public static IEnumerable<string> DisallowedUploadFiles
{
get
{

View File

@@ -2283,7 +2283,9 @@
<SubType>Designer</SubType>
</Content>
<Content Include="config\tinyMceConfig.config" />
<Content Include="config\umbracoSettings.config" />
<Content Include="config\umbracoSettings.config">
<SubType>Designer</SubType>
</Content>
<Content Include="config\xsltExtensions.config" />
<Content Include="config\UrlRewriting.config" />
<Content Include="config\log4net.config" />

View File

@@ -104,7 +104,7 @@
<DocumentTypeIconList>HideFileDuplicates</DocumentTypeIconList>
<!-- These file types will not be allowed to be uploaded via the upload control for media and content -->
<dissallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd</dissallowedUploadFiles>
<disallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd</disallowedUploadFiles>
</content>
<security>

View File

@@ -285,9 +285,9 @@ namespace umbraco
/// <summary>
/// File types that will not be allowed to be uploaded via the content/media upload control
/// </summary>
public static IEnumerable<string> DissallowedUploadFiles
public static IEnumerable<string> DisallowedUploadFiles
{
get { return Umbraco.Core.Configuration.UmbracoSettings.DissallowedUploadFiles; }
get { return Umbraco.Core.Configuration.UmbracoSettings.DisallowedUploadFiles; }
}
/// <summary>

View File

@@ -89,7 +89,7 @@ namespace umbraco.editorControls
//now check the file type
var extension = Path.GetExtension(postedFile.FileName).TrimStart(".");
return UmbracoSettings.DissallowedUploadFiles.Any(x => x.InvariantEquals(extension)) == false;
return UmbracoSettings.DisallowedUploadFiles.Any(x => x.InvariantEquals(extension)) == false;
}
public string Text