diff --git a/index.php b/index.php index 0518a91..e314c35 100644 --- a/index.php +++ b/index.php @@ -14,12 +14,10 @@ if (file_exists($attachment_location)) { header("Content-Length:".filesize($attachment_location)); header("Content-Disposition: attachment; filename=".$timestamp.".pdf"); readfile($attachment_location); +// unlink("/tmp/g1billet/".$timestamp.".pdf"); die(); } else { die("Error: File not found."); } - -shell_exec(rm -f "/tmp/g1billet/".$timestamp.".pdf"); - ?>