fix undefined $htaccessWorking
This commit is contained in:
parent
a90ea2c069
commit
09d2ba017e
|
@ -70,7 +70,6 @@ class Controller {
|
||||||
|
|
||||||
// Protect data directory here, so we can test if the protection is working
|
// Protect data directory here, so we can test if the protection is working
|
||||||
\OC_Setup::protectDataDirectory();
|
\OC_Setup::protectDataDirectory();
|
||||||
$htaccessWorking = false;
|
|
||||||
try {
|
try {
|
||||||
$htaccessWorking = \OC_Util::isHtAccessWorking();
|
$htaccessWorking = \OC_Util::isHtAccessWorking();
|
||||||
} catch (\OC\HintException $e) {
|
} catch (\OC\HintException $e) {
|
||||||
|
@ -78,6 +77,7 @@ class Controller {
|
||||||
'error' => $e->getMessage(),
|
'error' => $e->getMessage(),
|
||||||
'hint' => $e->getHint()
|
'hint' => $e->getHint()
|
||||||
);
|
);
|
||||||
|
$htaccessWorking = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
|
|
Loading…
Reference in New Issue