From 3a33b40431a110882d85370c56562c45e894b19c Mon Sep 17 00:00:00 2001 From: sharvey Date: Fri, 12 Feb 2010 02:39:25 +0000 Subject: [PATCH] MINOR Reverted r98850 which broke the installer on Windows git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98862 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/install.php b/install.php index a0f99fe..e5b0066 100644 --- a/install.php +++ b/install.php @@ -283,13 +283,7 @@ class InstallRequirements { $this->requireFile('mysite', array("File permissions", "mysite/ folder exists", "There's no mysite folder.")); $this->requireFile('sapphire', array("File permissions", "sapphire/ folder exists", "There's no sapphire folder.")); $this->requireFile('cms', array("File permissions", "cms/ folder exists", "There's no cms folder.")); - - - // Special case: IIS 7 and 7.5 don't need an .htaccess file, so it shouldn't have to be writable - if(!(isset($_SERVER['SERVER_SOFTWARE']) && strpos($_SERVER['SERVER_SOFTWARE'], 'IIS/7') !== false)) { - $this->requireWriteable('.htaccess', array("File permissions", "Is the .htaccess file writeable?", null)); - } - + $this->requireWriteable('.htaccess', array("File permissions", "Is the .htaccess file writeable?", null)); $this->requireWriteable('mysite/_config.php', array("File permissions", "Is the mysite/_config.php file writeable?", null)); $this->requireWriteable('assets', array("File permissions", "Is the assets/ folder writeable?", null));