projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e233e
)
Images.php
author
Chris
<chris@roojs.com>
Wed, 7 Aug 2013 10:37:17 +0000
(18:37 +0800)
committer
Chris
<chris@roojs.com>
Wed, 7 Aug 2013 10:37:17 +0000
(18:37 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
e1046c2
..
ed107e2
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-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);