projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e229748
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Tue, 12 Mar 2013 04:17:12 +0000
(12:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 12 Mar 2013 04:17:12 +0000
(12:17 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
9dfd8cc
..
f8878a0
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-106,7
+106,7
@@
class Pman_Core_Images extends Pman
if (!file_exists($src)) {
die("file was not saved");
}
- header ('Content-Type: ' . $f->
mime
type);
+ header ('Content-Type: ' . $f->type);
header("Content-Disposition: attachment; filename=\"".basename($f->filename)."\";" );
ob_clean();