DataObjects/Images.php
authoredward <edward@roojs.com>
Thu, 21 Jan 2016 05:40:02 +0000 (13:40 +0800)
committeredward <edward@roojs.com>
Thu, 21 Jan 2016 05:40:02 +0000 (13:40 +0800)
DataObjects/Images.php

index b0ebc91..acf0e5c 100644 (file)
@@ -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;
             }