diff options
-rw-r--r-- | core/setup/controller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/setup/controller.php b/core/setup/controller.php index 8ddcf19bb6d..e1ad9d60e8b 100644 --- a/core/setup/controller.php +++ b/core/setup/controller.php @@ -64,8 +64,9 @@ 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(); + $htaccessWorking = \OC_Util::isHtAccessWorking(); } catch (\OC\HintException $e) { $errors[] = array( 'error' => $e->getMessage(), |