Commit 14e534e9 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #13166 from owncloud/support-setup-in-php-dev-server

check for working htaccess will result in a dead lock because the server...
parents 6bda9503 296a8520
......@@ -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';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment