projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ea3dd
)
serve with original filename
author
Alan
<alan@roojs.com>
Wed, 8 Feb 2023 03:43:52 +0000
(11:43 +0800)
committer
Alan
<alan@roojs.com>
Wed, 8 Feb 2023 03:43:52 +0000
(11:43 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
ee9b968
..
c33e8f4
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-298,11
+298,11
@@
class Pman_Core_Images extends Pman
}
if (!$this->thumb) {
if ($x->mimetype == $this->as_mimetype) {
- $x->serveOnly($this->method);
+ $x->serveOnly($this->method
, $img->filename
);
exit;
}
$x->convert( $this->as_mimetype);
- $x->serve($this->method);
+ $x->serve($this->method
, $img->filename
);
exit;
}
//echo "SKALING? $this->size";