projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0bffdb
)
EventView.php
author
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 08:34:12 +0000
(16:34 +0800)
committer
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 08:34:12 +0000
(16:34 +0800)
EventView.php
patch
|
blob
|
history
diff --git
a/EventView.php
b/EventView.php
index
3caa92f
..
95a1b91
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-80,7
+80,7
@@
class Pman_Admin_EventView extends Pman
foreach($filesJ->FILES as $f){
- $path = $ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $f->tmp_name;
+ $path = $ff->
baseURL. "Images/Thumb/150/$ff->
Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $f->tmp_name;
echo '<img src="'.htmlspecialchars(file_get_contents($path)).'" />';
print_r($ff->baseURL);
}