Fixes: sites cannot run the new installer if they have /install directory

This commit is contained in:
perploug
2014-03-07 12:09:30 +01:00
parent 45f6d4f911
commit b816e7f4db
3 changed files with 12 additions and 2 deletions

View File

@@ -103,6 +103,9 @@ namespace Umbraco.Web
renderer.Initialize("Umbraco.DependencyPathRenderer", new NameValueCollection { { "compositeFileHandlerPath", "~/DependencyHandler.axd" } });
ClientDependencySettings.Instance.MvcRendererCollection.Add(renderer);
InstallHelper insHelper = new InstallHelper(UmbracoContext.Current);
insHelper.DeleteLegacyInstaller();
return this;
}