Searched refs:curl_ch (Results 1 – 1 of 1) sorted by relevance
/plugin/solr/ |
H A D | helper.php | 16 protected $curl_ch; variable in helper_plugin_solr 132 $this->curl_ch = curl_init(); 135 curl_setopt($this->curl_ch, CURLOPT_URL, $url); 136 curl_setopt($this->curl_ch, CURLOPT_HTTPHEADER, $header); 137 curl_setopt($this->curl_ch, CURLOPT_RETURNTRANSFER, 1); 139 curl_setopt($this->curl_ch, CURLOPT_POST, 1); 143 curl_setopt($this->curl_ch, CURLINFO_HEADER_OUT, 1); 150 'curl' => $this->curl_ch, 155 $evt->data['result'] = curl_exec($this->curl_ch); 156 if (curl_errno($this->curl_ch)) { [all …]
|