projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
46fdcd7
)
EventView.php
author
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 09:42:45 +0000
(17:42 +0800)
committer
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 09:42:45 +0000
(17:42 +0800)
EventView.php
patch
|
blob
|
history
diff --git
a/EventView.php
b/EventView.php
index
4070371
..
6aff667
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-82,10
+82,10
@@
class Pman_Admin_EventView extends Pman
foreach($filesJ->FILES as $f){
$ip = $ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $f->tmp_name;
$img = getimagesize($ip);
foreach($filesJ->FILES as $f){
$ip = $ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $f->tmp_name;
$img = getimagesize($ip);
- header("Content-type: image/jpeg");
+
//
header("Content-type: image/jpeg");
//readfile($ip);
// addslashes($ip);
//readfile($ip);
// addslashes($ip);
- echo "<img src=\"".readfile($ip)."\" $attr alt=\"getimagesize() example\" />";
+
//
echo "<img src=\"".readfile($ip)."\" $attr alt=\"getimagesize() example\" />";
//$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="'.$path.'" />';
// print_r($f->type);
//$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="'.$path.'" />';
// print_r($f->type);