mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02: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
|
// This will update the DateLastActive column, so the login does not expire
|
||||||
function update_dla()
|
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'];
|
$action = $GLOBALS['HTTP_GET_VARS']['menuaction'];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$action = $GLOBALS['PHP_SELF'];
|
$action = $PHP_SELF;
|
||||||
}
|
}
|
||||||
|
|
||||||
$GLOBALS['phpgw']->db->query("update phpgw_sessions set session_dla='" . time() . "', session_action='$action' "
|
$GLOBALS['phpgw']->db->query("update phpgw_sessions set session_dla='" . time() . "', session_action='$action' "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user