projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c9ab1
)
commit events
author
Chris
<chris@roojs.com>
Wed, 3 Oct 2012 05:49:11 +0000
(13:49 +0800)
committer
Chris
<chris@roojs.com>
Wed, 3 Oct 2012 05:49:11 +0000
(13:49 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
df66f07
..
37bf51f
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-419,12
+419,12
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$p['passwd'] = '******';
}
}
-
- file_put_contents($file, var_export(array(
+
+ file_put_contents($file,
json_encode(
var_export(array(
'REQUEST_URI' => empty($_SERVER['REQUEST_URI']) ? 'cli' : $_SERVER['REQUEST_URI'],
'GET' => empty($_GET) ? array() : $_GET,
'POST' =>$p,
- ), true));
+ )
)
, true));
}
}