EventView.php
authorChris <chris@roojs.com>
Fri, 12 Oct 2012 10:11:14 +0000 (18:11 +0800)
committerChris <chris@roojs.com>
Fri, 12 Oct 2012 10:11:14 +0000 (18:11 +0800)
EventView.php

index 866b1f6..fbd5c8a 100644 (file)
@@ -81,8 +81,8 @@ class Pman_Admin_EventView extends Pman
                 //$path = $ff->baseURL. "Images/Thumb/150/{$filesJ->POST->onid}";
         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");
+//            $img = getimagesize($ip);
+//            header("Content-type: image/jpeg");
             //readfile($ip);
 //            addslashes($ip);
             //echo "<img src=\"".base64_decode(readfile($ip))."\" $attr alt=\"getimagesize() example\" />";