projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56da476
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Mon, 23 Jul 2012 05:24:21 +0000
(13:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 23 Jul 2012 05:24:21 +0000
(13:24 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
bc4c006
..
1462c71
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-167,10
+167,11
@@
class Pman_Core_Images extends Pman
$tmp = $this->tempName($src_ext);
file_put_contents($tmp, $_REQUEST['data']);
+ require_once 'File/Convert.php';
+ $cv = new File_Convert($tmp, $this->mimetype);
-
-
-
+ $cv->convert($this->as_mimetype);
+ $cv->serve();