GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704b65a
)
fixed logging
author
niekt0
<niekt0@kyberia.cz>
Tue, 25 Jan 2011 16:28:36 +0000
(17:28 +0100)
committer
niekt0
<niekt0@kyberia.cz>
Tue, 25 Jan 2011 16:28:36 +0000
(17:28 +0100)
wwwroot/inc/log.inc
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/inc/log.inc
b/wwwroot/inc/log.inc
index 5a35b16ef945de197209bbd7552f73658b42ec99..628bde5c14b54887db5efbfb2eb555164be4c85e 100644
(file)
--- a/
wwwroot/inc/log.inc
+++ b/
wwwroot/inc/log.inc
@@
-5,6
+5,8
@@
class logger {
global $db,$node;
$user_id = isSet($_SESSION['user_id'])?$_SESSION['user_id']:"";
+ error_log('LOG: user: '.$user_id.', action: '.$action.
+ ', node_id: '.$node_id.', result: '.$result);
// $db->query("insert delayed into logs set event='$action',node_id='$node_id',user_id='$user_id',result='$result',parameter1='$parameter1',parameter2='$parameter2'");
}
This page took
0.312655 seconds
and
4
git commands to generate.