diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-08-06 16:51:31 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-08-30 19:00:03 +0200 |
commit | 37513f9411035f6edcb78f9f89ceb4f8433f0aa5 (patch) | |
tree | 1a5b319c9793e869a41c848e5c8cf16ca241b85a /lib/private/util.php | |
parent | 289e9130f35334a6f0cffcedee82da7d9f5082d0 (diff) | |
download | nextcloud-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.php | 1 |
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; } |