projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f4ce1
)
DataObjects/Images.php
author
edward
<edward@roojs.com>
Wed, 5 Oct 2016 08:23:18 +0000
(16:23 +0800)
committer
edward
<edward@roojs.com>
Wed, 5 Oct 2016 08:23:18 +0000
(16:23 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
75d63ce
..
130d627
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-53,6
+53,8
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
function beforeInsert($q, $roo)
{
+ print_r('beforeInsert');exit;
+
if (isset($q['_remote_upload'])) {
require_once 'System.php';
@@
-104,6
+106,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
*/
function createFrom($file, $filename=false)
{
+ print_r('createFrom');exit;
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
$this->err = "File $file did not exist or is 0 size";