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...
This commit is contained in:
commit
14e534e933
|
@ -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