/** * Set the user agent to Drupal. */ protected function curlInitialize() { parent::curlInitialize(); curl_setopt($this->curlHandle, CURLOPT_USERAGENT, 'Drupal (+http://drupal.org/)'); }
/** * Set the user agent to Drupal. */ protected function curlInitialize() { parent::curlInitialize(); curl_setopt($this->curlHandle, CURLOPT_USERAGENT, 'Drupal (+http://drupal.org/)'); }