diff options
-rw-r--r-- | core/setup/controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/setup/controller.php b/core/setup/controller.php index 9b35432f113..679efee81bf 100644 --- a/core/setup/controller.php +++ b/core/setup/controller.php @@ -70,7 +70,6 @@ class Controller { // Protect data directory here, so we can test if the protection is working \OC_Setup::protectDataDirectory(); - $htaccessWorking = false; try { $htaccessWorking = \OC_Util::isHtAccessWorking(); } catch (\OC\HintException $e) { @@ -78,6 +77,7 @@ class Controller { 'error' => $e->getMessage(), 'hint' => $e->getHint() ); + $htaccessWorking = false; } return array( |