diff --git a/umbraco/presentation/install/steps/renaming.ascx.cs b/umbraco/presentation/install/steps/renaming.ascx.cs index 2603e24dff..9bb98e48fc 100644 --- a/umbraco/presentation/install/steps/renaming.ascx.cs +++ b/umbraco/presentation/install/steps/renaming.ascx.cs @@ -13,6 +13,7 @@ namespace umbraco.presentation.install.steps public partial class renaming : System.Web.UI.UserControl { private string _oldAccessFilePath = IO.IOHelper.MapPath(IO.SystemDirectories.Data + "/access.xml"); + private string _newAccessFilePath = IO.IOHelper.MapPath(IO.SystemDirectories.Data + "/access.config"); private bool _changesNeeded = false; protected void Page_Load(object sender, EventArgs e) @@ -39,7 +40,7 @@ namespace umbraco.presentation.install.steps private string checkAccessFile() { - if (oldAccessFileExist()) + if (!newAccessFileExist() && oldAccessFileExist()) { _changesNeeded = true; return "
  • Access.xml found. Needs to be renamed to access.config
  • "; @@ -55,6 +56,11 @@ namespace umbraco.presentation.install.steps return File.Exists(_oldAccessFilePath); } + private bool newAccessFileExist() + { + return File.Exists(_newAccessFilePath); + } + private string checkExtensionPaths(string filename, string extensionName) { string tempResult = "";