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