DataObjects/Images.php
authorEdward <edward@roojs.com>
Wed, 9 Jan 2013 08:14:15 +0000 (16:14 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Jan 2013 08:14:15 +0000 (16:14 +0800)
DataObjects/Images.php

index ac5ce61..5a2b0f5 100644 (file)
@@ -60,6 +60,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
             //$fn = $this->remoteUpload($roo, $q['_remote_upload']);
             
             // load the file..
+            $fn = file_get_contents($q['_remote_upload']);
             $this->createFrom($fn);
             
             $roo->addEvent("ADD", $this, $this->toEventString());