Merge branch 'wip-MDL-58915-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE

This commit is contained in:
David Monllao
2017-10-19 15:44:25 +02:00
+2 -1
View File
@@ -1198,7 +1198,8 @@ class engine extends \core_search\engine {
return $this->curl;
}
$this->curl = new \curl();
// Connection to Solr is allowed to use 'localhost' and other potentially blocked hosts/ports.
$this->curl = new \curl(['ignoresecurity' => true]);
$options = array();
// Build the SSL options. Based on pecl-solr and general testing.