projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b240898
)
Images.php
author
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 11:50:22 +0000
(19:50 +0800)
committer
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 11:50:22 +0000
(19:50 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
b7aecdb
..
9a2d971
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-77,8
+77,9
@@
class Pman_Core_Images extends Pman
$this->size = empty($bits[2]) ? '0x0' : $bits[2];
$id = empty($bits[3]) ? 0 : $bits[3];
- } else if (!empty($bits[0]) && $bits[0] == 'Download') {
-
+ } else if (!empty($bits[0]) && $bits[0] == 'events') {
+ $popts = PEAR::getStaticProperty('Pman','options');
+ $file = "{$popts['event_log_dir']}/{$bits[1]}.jpg";
} else {
$id = empty($bits[0]) ? 0 : $bits[0];