DataObjects/Images.php
authorEdward <edward@roojs.com>
Wed, 26 Jun 2013 11:26:48 +0000 (19:26 +0800)
committerEdward <edward@roojs.com>
Wed, 26 Jun 2013 11:26:48 +0000 (19:26 +0800)
DataObjects/Images.php

index 9973cf4..d5a6241 100644 (file)
@@ -77,8 +77,9 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
             
             if (!preg_match("/\." . $ext."$/", $path, $matches)) {
                 rename($path,$path.$ext);
+                print_r($path);exit;
             }
-            print_r($path);exit;
+            
             if (!$this->createFrom($path)) {
                 $roo->jerr("erro making image" . $q['_remote_upload']);
             }