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:
Thomas Müller 2015-01-08 09:13:18 +01:00
parent 6bda95037f
commit 296a852063
1 changed files with 5 additions and 0 deletions

View File

@ -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';