projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd52505
)
DataObjects/Events.php
author
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 08:14:31 +0000
(16:14 +0800)
committer
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 08:14:31 +0000
(16:14 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
74e377d
..
3a78fc1
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-432,7
+432,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$files[$k] = $f;
$files[$k]['tmp_name'] = $this->id . '.file_'. $i.'.jpg';
$nf = $ff->Pman['event_log_dir']. '/'. $user. date('/Y/m/d/'). $this->id . ".file_$i.jpg";
- print_r(
copy($f['tmp_name'], $nf)
);
+ print_r(
$nf
);
if (!copy($f['tmp_name'], $nf)) {
print_r("failed to copy {$f['tmp_name']}...\n");
}