mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-26 15:59:23 +01:00
A couple of cleanups when logging errors to a file.
This commit is contained in:
parent
be83963d2b
commit
8a13e1c52b
@ -469,13 +469,14 @@
|
||||
// This will update the DateLastActive column, so the login does not expire
|
||||
function update_dla()
|
||||
{
|
||||
if (isset($GLOBALS['HTTP_GET_VARS']['menuaction']))
|
||||
global $PHP_SELF;
|
||||
if (@isset($GLOBALS['HTTP_GET_VARS']['menuaction']))
|
||||
{
|
||||
$action = $GLOBALS['HTTP_GET_VARS']['menuaction'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$action = $GLOBALS['PHP_SELF'];
|
||||
$action = $PHP_SELF;
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw']->db->query("update phpgw_sessions set session_dla='" . time() . "', session_action='$action' "
|
||||
|
Loading…
Reference in New Issue
Block a user