projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54775b3
)
DataObjects/Images.php
author
edward
<edward@roojs.com>
Thu, 21 Jan 2016 05:40:02 +0000
(13:40 +0800)
committer
edward
<edward@roojs.com>
Thu, 21 Jan 2016 05:40:02 +0000
(13:40 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
b0ebc91
..
acf0e5c
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-708,7
+708,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
if (array_shift(explode('/', $this->mimetype)) == 'image') {
$imgs = @getimagesize($file);
-
+ print_R($imgs);exit;
if (!empty($imgs) && !empty($imgs[0]) && !empty($imgs[1])) {
list($this->width , $this->height) = $imgs;
}