projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b663efe
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Tue, 19 Mar 2013 02:49:03 +0000
(10:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 19 Mar 2013 02:49:03 +0000
(10:49 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
2cec333
..
e73d896
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-412,6
+412,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
file_put_contents($file, json_encode(array(
'REQUEST_URI' => empty($_SERVER['REQUEST_URI']) ? 'cli' : $_SERVER['REQUEST_URI'],
+ 'HTTP_USER_AGENT' => empty($_SERVER['HTTP_USER_AGENT']) ? '' : $_SERVER['HTTP_USER_AGENT'],
'GET' => empty($_GET) ? array() : $_GET,
'POST' =>$p,
'FILES' => $files,