]> source.dussan.org Git - nextcloud-server.git/commitdiff
in cli mode return true for isHtaccessWorking
authorJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 15 Oct 2014 14:59:28 +0000 (16:59 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 15 Oct 2014 14:59:28 +0000 (16:59 +0200)
lib/private/util.php

index 304db827a1a2815e96bb7a52dbbb0b2d7742d7f1..c0a68c56223eeb98c8784e556babc807a6640cc1 100755 (executable)
@@ -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;
                }