Skip to content

Commit

Permalink
5056 added inline; to Content-Disposition statement
Browse files Browse the repository at this point in the history
  • Loading branch information
atutorlangs committed Sep 6, 2012
1 parent 53deaf5 commit bec0d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
header('Content-transfer-encoding: binary');
header('Content-Disposition: attachment; filename="'.$pathinfo['basename'].'"');
} else {
header('Content-Disposition: filename="'.$pathinfo['basename'].'"');
header('Content-Disposition: inline; filename="'.$pathinfo['basename'].'"');
}

/**
Expand Down

0 comments on commit bec0d81

Please sign in to comment.