projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd2c01
)
DataObjects/Images.php
author
Edward
<edward@roojs.com>
Wed, 26 Jun 2013 11:23:22 +0000
(19:23 +0800)
committer
Edward
<edward@roojs.com>
Wed, 26 Jun 2013 11:23:22 +0000
(19:23 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
8b41f9f
..
5d0919e
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-77,9
+77,10
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
$ext = $y->toExt(trim((string) $imageInfo['mime'] ));
if (!preg_match("/\." . $ext."$/", $path, $matches)) {
+ print_r('in??');exit;
rename($path,$path.$ext);
}
-
+ print_r('out');exit;
if (!$this->createFrom($path)) {
$roo->jerr("erro making image" . $q['_remote_upload']);
}