Merge pull request #11596 from owncloud/in_cli_mode_return_true_for_ishtaccessworking

in cli mode return true for isHtaccessWorking
This commit is contained in:
Jörn Friedrich Dreyer 2014-10-15 18:43:12 +02:00
commit 7c40261ca9
1 changed files with 1 additions and 1 deletions

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