From 296a8520639ebd69212a38e308b307a8c134ef4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Thu, 8 Jan 2015 09:13:18 +0100 Subject: [PATCH] check for working htaccess will result in a dead lock because the server is blocking the request to itself - fixes #13153 --- lib/private/util.php | 5 +++++ 1 file changed, 5 insertions(+) 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';