check for working htaccess will result in a dead lock because the server is blocking the request to itself - fixes #13153
This commit is contained in:
parent
6bda95037f
commit
296a852063
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue