From c27fd94ec806d5b4c3e3328e1e57e668e5d7f46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= <jfd@butonic.de> Date: Wed, 15 Oct 2014 16:59:28 +0200 Subject: [PATCH] in cli mode return true for isHtaccessWorking --- lib/private/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/util.php b/lib/private/util.php index 304db827a1..c0a68c5622 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; } -- GitLab