aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-10-15 16:59:28 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-10-15 16:59:28 +0200
commitc27fd94ec806d5b4c3e3328e1e57e668e5d7f46c (patch)
treed4b12df480fe9854f6d164982ebf2241bf87934f /lib/private/util.php
parentb4efd83f2bc4046a4b2bd81f3f30998b4db7a934 (diff)
downloadnextcloud-server-c27fd94ec806d5b4c3e3328e1e57e668e5d7f46c.tar.gz
nextcloud-server-c27fd94ec806d5b4c3e3328e1e57e668e5d7f46c.zip
in cli mode return true for isHtaccessWorking
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-xlib/private/util.php2
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;
}