Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
removed force attachment since it can break bc
Browse files Browse the repository at this point in the history
  • Loading branch information
t0k4rt committed Jun 12, 2014
1 parent 5951346 commit 13945af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qrvect.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ public static function eps($frame, $filename = false, $pixelPerPoint = 4, $outer

if ($filename === false) {
header("Content-Type: application/postscript");
header('Content-Disposition: attachment; filename="qrcode.eps"');
header('Content-Disposition: filename="qrcode.eps"');
echo $vect;
} else {
if($saveandprint===TRUE){
QRtools::save($vect, $filename);
header("Content-Type: application/postscript");
header('Content-Disposition: attachment; filename="qrcode.eps"');
header('Content-Disposition: filename="qrcode.eps"');
echo $vect;
}else{
QRtools::save($vect, $filename);
Expand Down

0 comments on commit 13945af

Please sign in to comment.