in cli mode return true for isHtaccessWorking

This commit is contained in:
Jörn Friedrich Dreyer 2014-10-15 16:59:28 +02:00
parent b4efd83f2b
commit c27fd94ec8

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;
}