Loading src/Strategy/Letterfile/Tools/CurlAccess.php +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ class CurlAccess $location = $this->archivePath . DIRECTORY_SEPARATOR . $filename; $data = $result === null ? 'Aucune donnée reçue' : $result; $content = "URL ------------------------------ '$url'\n\n"; $content .= "HEADERS ---------------------------\n" . implode('\n', $this->headers) . "\n\n"; $content .= "HEADERS ---------------------------\n" . implode("\n", $this->headers) . "\n\n"; $content .= "SEND ---------------------------\n" . ($send ? json_encode($send, JSON_PRETTY_PRINT) : "Rien envoyé") . "\n\n"; $content .= "RESULT ---------------------------\n" . $data . "\n\n"; if(!@file_put_contents($location, $content)){ Loading Loading
src/Strategy/Letterfile/Tools/CurlAccess.php +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ class CurlAccess $location = $this->archivePath . DIRECTORY_SEPARATOR . $filename; $data = $result === null ? 'Aucune donnée reçue' : $result; $content = "URL ------------------------------ '$url'\n\n"; $content .= "HEADERS ---------------------------\n" . implode('\n', $this->headers) . "\n\n"; $content .= "HEADERS ---------------------------\n" . implode("\n", $this->headers) . "\n\n"; $content .= "SEND ---------------------------\n" . ($send ? json_encode($send, JSON_PRETTY_PRINT) : "Rien envoyé") . "\n\n"; $content .= "RESULT ---------------------------\n" . $data . "\n\n"; if(!@file_put_contents($location, $content)){ Loading