diff --git a/src/Orchard.Web/Modules/Orchard.Setup/Controllers/SetupController.cs b/src/Orchard.Web/Modules/Orchard.Setup/Controllers/SetupController.cs index 72bc796ef..0ab0d8111 100644 --- a/src/Orchard.Web/Modules/Orchard.Setup/Controllers/SetupController.cs +++ b/src/Orchard.Web/Modules/Orchard.Setup/Controllers/SetupController.cs @@ -37,7 +37,7 @@ namespace Orchard.Setup.Controllers { public ActionResult Index(SetupViewModel model) { string message = ""; - if (!CanWriteTo(out message)) { + if (!CanWriteToAppDataFolder(out message)) { _notifier.Error( T( "Hey, it looks like I can't write to the App_Data folder in the root of this application and that's where I need to save some of the information you're about to enter.\r\n\r\nPlease give me (the machine account this application is running under) write access to App_Data so I can get this app all set up for you.\r\n\r\nThanks!\r\n\r\n----\r\n{0}", @@ -133,7 +133,7 @@ namespace Orchard.Setup.Controllers { } } - bool CanWriteTo(out string message) { + bool CanWriteToAppDataFolder(out string message) { try { _appDataFolder.CreateFile("_systemcheck.txt", "Communicator check one two one two"); _appDataFolder.DeleteFile("_systemcheck.txt");