Re-removed umbraco version header after bad merge and removed from new routing module.

Started addding new ICultureDictionary since this cannot belong in the macros project.
This commit is contained in:
Shannon Deminick
2012-08-15 21:21:31 +06:00
parent 2f4a18087d
commit 91e9392992
7 changed files with 25 additions and 45 deletions

View File

@@ -39,10 +39,6 @@ namespace Umbraco.Web
return;
}
// add Umbraco's signature header
if (!UmbracoSettings.RemoveUmbracoVersionHeader)
httpContext.Response.AddHeader("X-Umbraco-Version", string.Format("{0}.{1}", GlobalSettings.VersionMajor, GlobalSettings.VersionMinor));
//create the legacy UmbracoContext
global::umbraco.presentation.UmbracoContext.Current = new global::umbraco.presentation.UmbracoContext(httpContext);