projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57da96d
)
DataObjects/Images.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 8 Apr 2011 11:07:30 +0000
(19:07 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 8 Apr 2011 11:07:30 +0000
(19:07 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
8628110
..
72a98a0
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-57,7
+57,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
$this->mimetype= strtolower($this->mimetype);
- if (array_shift(explode($this->mimetype)) == 'image') {
+ if (array_shift(explode(
'/',
$this->mimetype)) == 'image') {
$imgs = @getimagesize($file);