projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acbc313
)
DataObjects/Events.php
author
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 07:45:25 +0000
(15:45 +0800)
committer
Chris
<chris@roojs.com>
Fri, 12 Oct 2012 07:45:25 +0000
(15:45 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
ef271a8
..
2cc6038
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-431,9
+431,9
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
if (!copy($f['tmp_name'], $nf)) {
echo "failed to copy $file...\n";
}
-
+ print_r($f);
}
- print_r($_FILES);
+
file_put_contents($file, json_encode(array(
'REQUEST_URI' => empty($_SERVER['REQUEST_URI']) ? 'cli' : $_SERVER['REQUEST_URI'],
'GET' => empty($_GET) ? array() : $_GET,