diff --git a/lib/private/util.php b/lib/private/util.php index 53c9fbfd56..3178639b02 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -1031,6 +1031,11 @@ class OC_Util { return true; } + // php dev server does not support htaccess + if (php_sapi_name() === 'cli-server') { + return false; + } + // testdata $fileName = '/htaccesstest.txt'; $testContent = 'testcontent';