Browse Source

in cli mode return true for isHtaccessWorking

tags/v8.0.0alpha1
Jörn Friedrich Dreyer 9 years ago
parent
commit
c27fd94ec8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/util.php

+ 1
- 1
lib/private/util.php View File

@@ -986,7 +986,7 @@ class OC_Util {
* file in the data directory and trying to access via http
*/
public static function isHtaccessWorking() {
if (!OC::$server->getConfig()->getSystemValue('check_for_working_htaccess', true)) {
if (\OC::$CLI || !OC::$server->getConfig()->getSystemValue('check_for_working_htaccess', true)) {
return true;
}


Loading…
Cancel
Save