fix undefined $htaccessWorking

This commit is contained in:
Morris Jobke 2013-10-07 00:36:42 +02:00
parent a90ea2c069
commit 09d2ba017e
1 changed files with 1 additions and 1 deletions

View File

@ -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(