diff options
author | Sylvia van Os <sylvia@hackerchick.me> | 2018-11-22 10:14:27 +0100 |
---|---|---|
committer | Sylvia van Os <sylvia@hackerchick.me> | 2018-11-22 10:57:16 +0100 |
commit | 935bb256398a6ebab4e882fc740487dfbd401f73 (patch) | |
tree | fdbce36b7d183b1e76fa2067c75af36e3d3eda91 /settings/Controller | |
parent | b7767a51f140d3f588278f053f3a9e1eb84e4346 (diff) | |
download | nextcloud-server-935bb256398a6ebab4e882fc740487dfbd401f73.tar.gz nextcloud-server-935bb256398a6ebab4e882fc740487dfbd401f73.zip |
Make connectivity check domains configurable
Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/CheckSetupController.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index ba56c72dccf..5da84eca68d 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -130,11 +130,9 @@ class CheckSetupController extends Controller { return false; } - $siteArray = ['www.nextcloud.com', - 'www.startpage.com', - 'www.eff.org', - 'www.edri.org', - ]; + $siteArray = $this->config->getSystemValue('connectivity_check_domains', [ + 'www.nextcloud.com', 'www.startpage.com', 'www.eff.org', 'www.edri.org' + ]); foreach($siteArray as $site) { if ($this->isSiteReachable($site)) { |