Images.php
authorChris <chris@roojs.com>
Fri, 12 Oct 2012 11:58:30 +0000 (19:58 +0800)
committerChris <chris@roojs.com>
Fri, 12 Oct 2012 11:58:30 +0000 (19:58 +0800)
Images.php

index bdf5b95..0778244 100644 (file)
@@ -87,7 +87,7 @@ class Pman_Core_Images extends Pman
                 flush();
                 readfile($file);
             }else{
-                $fh = fopen($file.'.jpg','r');
+                $fh = fopen($file,'r');
                 echo fread($fh,filesize($file));
             }
             exit;