Images.php
authorChris <chris@roojs.com>
Wed, 7 Aug 2013 10:38:45 +0000 (18:38 +0800)
committerChris <chris@roojs.com>
Wed, 7 Aug 2013 10:38:45 +0000 (18:38 +0800)
Images.php

index 9f391c3..b248187 100644 (file)
@@ -216,12 +216,13 @@ class Pman_Core_Images extends Pman
         
         require_once 'File/Convert.php';
         $cv = new File_Convert($tmp, $this->mimetype);
-        print_r($cv);exit;
+        
         $fn = $cv->convert(
                 $this->as_mimetype ,
                 empty($_REQUEST['width']) ? 0 : $_REQUEST['width'],
                 empty($_REQUEST['height']) ? 0 : $_REQUEST['height']
         );
+        print_r($fn);exit;
         if (!empty($_REQUEST['as_data'])) {
             $this->jok(base64_encode(file_get_contents($fn)));
         }