diff options
-rwxr-xr-x | lib/private/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 304db827a1a..c0a68c56223 100755 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -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; } |