Skip to content
Snippets Groups Projects
Commit 587d7fc1 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

retour arriere sur header

parent eda68ead
No related branches found
No related tags found
No related merge requests found
Pipeline #38143 passed
......@@ -70,7 +70,6 @@ class CurlAccess
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'DELETE');
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); // if any redirection after upload
curl_setopt($curl, CURLOPT_HEADER, true);
$result=curl_exec ($curl);
$this->archive($result, $url, $posted);
......@@ -126,7 +125,6 @@ class CurlAccess
curl_setopt($curl, CURLOPT_POST, true); // enable posting
curl_setopt($curl, CURLOPT_POSTFIELDS, $posted); // post images
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); // if any redirection after upload
curl_setopt($curl, CURLOPT_HEADER, true); // if any redirection after upload
$result=curl_exec ($curl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment