Browse Source

pas de verbose, certains php-curl font du bruit pour rien sinon (marcimat)

master
Cerdic 10 months ago
parent
commit
10d5433010
  1. 1
      mirror.php

1
mirror.php

@ -269,6 +269,7 @@ function debardeur_json_api_call_raw($type, $endpoint, $method, $query, $last_mo
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('accept: application/json'));
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
curl_setopt($ch, CURLOPT_VERBOSE, 0);
curl_setopt($ch, CURLOPT_AUTOREFERER, true);
$output = curl_exec($ch);

Loading…
Cancel
Save