Commit 587d7fc1 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

retour arriere sur header

parent eda68ead
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);