DataObjects/Images.php
authorEdward <edward@roojs.com>
Tue, 19 Mar 2013 07:46:24 +0000 (15:46 +0800)
committerEdward <edward@roojs.com>
Tue, 19 Mar 2013 07:46:24 +0000 (15:46 +0800)
DataObjects/Images.php

index 7157142..7c13986 100644 (file)
@@ -56,7 +56,6 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
     
     function beforeInsert($q, $roo) 
     {
-        print_r( 'run');exit;
         if (isset($q['_remote_upload'])) {
             require_once 'System.php';
             $tmpdir  = System::mktemp("-d remote_upload");
@@ -74,7 +73,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
             if (!preg_match("/\." . $ext."$/", $path, $matches)) {
                 rename($path,$path.$ext);
             }
-            
+            print_r('run');exit;
             $this->createFrom($path);
             
             $roo->addEvent("ADD", $this, $this->toEventString());