summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-08-06 16:51:31 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-08-30 19:00:03 +0200
commit37513f9411035f6edcb78f9f89ceb4f8433f0aa5 (patch)
tree1a5b319c9793e869a41c848e5c8cf16ca241b85a /lib/private/util.php
parent289e9130f35334a6f0cffcedee82da7d9f5082d0 (diff)
downloadnextcloud-server-37513f9411035f6edcb78f9f89ceb4f8433f0aa5.tar.gz
nextcloud-server-37513f9411035f6edcb78f9f89ceb4f8433f0aa5.zip
don't read certificates if ownCloud is not installed
Diffstat (limited to 'lib/private/util.php')
-rw-r--r--lib/private/util.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index edd375b5c36..0fda55496dc 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1145,6 +1145,7 @@ class OC_Util {
* @throws \OC\HintException If the test file can't get written.
*/
public function isHtaccessWorking(\OCP\IConfig $config) {
+
if (\OC::$CLI || !$config->getSystemValue('check_for_working_htaccess', true)) {
return true;
}