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

index e1046c2..ed107e2 100644 (file)
@@ -200,7 +200,7 @@ class Pman_Core_Images extends Pman
             $this->jerr("missing data");
         }
         
-        print_r($_REQUEST['data']);exit;
+        
         
         $this->as_mimetype = $_REQUEST['as'];
         $this->mimetype = $_REQUEST['mimetype'];
@@ -212,6 +212,8 @@ class Pman_Core_Images extends Pman
         $tmp = $this->tempName($src_ext);
         file_put_contents($tmp, $_REQUEST['data']);
         
+        print_r($tmp);exit;
+        
         require_once 'File/Convert.php';
         $cv = new File_Convert($tmp, $this->mimetype);