projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
caebb4a
)
EventView.php
author
Edward
<edward@roojs.com>
Fri, 24 Jul 2015 09:50:10 +0000
(17:50 +0800)
committer
Edward
<edward@roojs.com>
Fri, 24 Jul 2015 09:50:10 +0000
(17:50 +0800)
EventView.php
patch
|
blob
|
history
diff --git
a/EventView.php
b/EventView.php
index
4d5738f
..
b2efbb2
100644
(file)
--- a/
EventView.php
+++ b/
EventView.php
@@
-67,7
+67,7
@@
class Pman_Admin_EventView extends Pman
$file = $ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $ev->id . ".php";
if (file_exists($file)) {
$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>';
+ echo '<PRE>
111
' . htmlspecialchars(file_get_contents($file)). '</PRE>';
}
}
@@
-76,7
+76,7
@@
class Pman_Admin_EventView extends Pman
echo "not available (missing file) $file";
exit;
}
echo "not available (missing file) $file";
exit;
}
- echo '<PRE>' . htmlspecialchars(print_r(json_decode(file_get_contents($file)), true)) . '</PRE>';
+ echo '<PRE>
222
' . htmlspecialchars(print_r(json_decode(file_get_contents($file)), true)) . '</PRE>';
echo '<BR/><PRE>'. htmlspecialchars($ev->remarks) . '</PRE>';
echo '<BR/><PRE>'. htmlspecialchars($ev->remarks) . '</PRE>';