summaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r--lib/private/setup.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php
index 1aa2af124c6..7ca30e172ec 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -181,7 +181,8 @@ class Setup {
\OC\Setup::protectDataDirectory();
try {
- $htAccessWorking = \OC_Util::isHtaccessWorking();
+ $util = new \OC_Util();
+ $htAccessWorking = $util->isHtaccessWorking(\OC::$server->getConfig());
} catch (\OC\HintException $e) {
$errors[] = array(
'error' => $e->getMessage(),