diff --git a/paste/download.php b/paste/download.php index 25d564e..380df14 100644 --- a/paste/download.php +++ b/paste/download.php @@ -22,11 +22,11 @@ function downloadFile($fullPath) { header("Pragma: public"); // required header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); - header("Cache-Control: private",false); // required for certain browsers + header("Cache-Control: private", false); // required for certain browsers header("Content-Type: application/force-download"); header("Content-Disposition: attachment; filename=\"".basename($fullPath)."\";" ); header("Content-Transfer-Encoding: binary"); - header("Content-Length: ".$fsize); + header("Content-Length: " . $fsize); ob_clean(); flush(); readfile($fullPath);