diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-10 14:08:01 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-10 14:08:01 +0000 |
| commit | a2183b603aa79005e2c01c41a9e04d719266832e (patch) | |
| tree | 856ae6cb71128b83a9664e74bd0a45f865f527c9 /frontends/php/include/audit.inc.php | |
| parent | 370568ec852e6db2190a16d51f4d24abdb17651e (diff) | |
- added login/logout information into auditlog (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3685 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/audit.inc.php')
| -rw-r--r-- | frontends/php/include/audit.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/php/include/audit.inc.php b/frontends/php/include/audit.inc.php index 71dbbabd..3c3f736e 100644 --- a/frontends/php/include/audit.inc.php +++ b/frontends/php/include/audit.inc.php @@ -58,6 +58,8 @@ { global $USER_DETAILS; + if(!isset($USER_DETAILS["userid"])) check_authorisation(); + $auditid = get_dbid("auditlog","auditid"); if(($result = DBexecute("insert into auditlog (auditid,userid,clock,action,resourcetype,details) ". |
