Skip to content
Snippets Groups Projects
Commit 09d2ba01 authored by Morris Jobke's avatar Morris Jobke
Browse files

fix undefined $htaccessWorking

parent a90ea2c0
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment