DataObjects/Images.php
authorEdward <edward@roojs.com>
Tue, 15 Jan 2013 02:38:30 +0000 (10:38 +0800)
committerEdward <edward@roojs.com>
Tue, 15 Jan 2013 02:38:30 +0000 (10:38 +0800)
DataObjects/Images.php

index e22a760..f6a9026 100644 (file)
@@ -64,7 +64,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
             $y = new File_MimeType();
             $ext = $y->toExt(trim((string) $imageInfo['mime'] ));
             print_r($q['_remote_upload']);
-            
+            exit;
             $path = $tmpdir . '/' . time() . '.' . $ext;
             if(!file_exists($path)){
                file_put_contents($path, file_get_contents($q['_remote_upload']));