projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e16e174
)
DataObjects/Images.php
author
Edward
<edward@roojs.com>
Mon, 22 Sep 2014 09:56:22 +0000
(17:56 +0800)
committer
Edward
<edward@roojs.com>
Mon, 22 Sep 2014 09:56:22 +0000
(17:56 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
2b202ca
..
7687cfe
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-107,7
+107,6
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
*/
function createFrom($file, $filename=false)
{
*/
function createFrom($file, $filename=false)
{
- print_r('createfrom');exit;
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
return false;
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
return false;
@@
-234,7
+233,6
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
function onUploadWithTbl($tbl, $fld)
{
function onUploadWithTbl($tbl, $fld)
{
- print_r('onUploadWithTbl');
if ( $tbl->__table == 'Images') {
return; // not upload to self...
}
if ( $tbl->__table == 'Images') {
return; // not upload to self...
}
@@
-270,7
+268,6
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
/// ctrl not used??
function onUpload($roo)
{
/// ctrl not used??
function onUpload($roo)
{
- print_r('onUPload');
// echo $_FILES['imageUpload']['type'];exit;
if (empty($_FILES['imageUpload']['tmp_name']) ||
empty($_FILES['imageUpload']['name']) ||
// echo $_FILES['imageUpload']['type'];exit;
if (empty($_FILES['imageUpload']['tmp_name']) ||
empty($_FILES['imageUpload']['name']) ||