projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d901086
)
EventView.php
author
Alan Knowles
<alan@roojs.com>
Wed, 17 Oct 2012 09:54:47 +0000
(17:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 17 Oct 2012 09:54:47 +0000
(17:54 +0800)
EventView.php
patch
|
blob
|
history
diff --git
a/EventView.php
b/EventView.php
index
5738aa4
..
d12d6d9
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-64,6
+64,12
@@
class Pman_Admin_EventView extends Pman
$user = getenv('USERNAME'); // windows.
}
+ $file = $ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $ev->id . ".php";
+ if (file_exists($file)) {
+ echo '<PRE>' . htmlspecialchars(file_get_contents($file)). '</PRE>';
+
+ }
+
$file = $ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $ev->id . ".json";
if (!file_exists($file)) {