Fixes: U4-6418 Loading back office with ClientDependency does not respect the configured value for the compositeFileHandlerPath

This commit is contained in:
Shannon
2015-03-18 19:04:49 +11:00
parent e9e84a7faa
commit 9c1d3fabb8

View File

@@ -111,8 +111,12 @@ namespace Umbraco.Web
//Register a custom renderer - used to process property editor dependencies
var renderer = new DependencyPathRenderer();
renderer.Initialize("Umbraco.DependencyPathRenderer", new NameValueCollection { { "compositeFileHandlerPath", "~/DependencyHandler.axd" } });
renderer.Initialize("Umbraco.DependencyPathRenderer", new NameValueCollection
{
{ "compositeFileHandlerPath", ClientDependencySettings.Instance.CompositeFileHandlerPath }
});
ClientDependencySettings.Instance.MvcRendererCollection.Add(renderer);
InstallHelper insHelper = new InstallHelper(UmbracoContext.Current);
insHelper.DeleteLegacyInstaller();