projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9335480
)
Images.php
author
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 11:56:41 +0000
(19:56 +0800)
committer
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 11:56:41 +0000
(19:56 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
6c6d70b
..
7599a5b
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-82,7
+82,7
@@
class Pman_Core_Images extends Pman
$file = "{$popts['event_log_dir']}/{$bits[1]}.jpg";
header ('Content-Type: image/jpeg');
if(!empty($bits[2]) && $bits[2] == 'download'){
- header("Content-Disposition: attachment; filename=\"".basename($file)."
.jpg
\";" );
+ header("Content-Disposition: attachment; filename=\"".basename($file)."\";" );
ob_clean();
flush();
readfile($file);