mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
also remove /api/thumbnail.php from access-log updates
This commit is contained in:
parent
5d8afa96c9
commit
8f6df975fe
@ -1796,8 +1796,8 @@ class Session
|
|||||||
}
|
}
|
||||||
// update dla in access-log table, if we have an access-log row (non-anonymous session)
|
// update dla in access-log table, if we have an access-log row (non-anonymous session)
|
||||||
if ($this->sessionid_access_log && $update_access_log &&
|
if ($this->sessionid_access_log && $update_access_log &&
|
||||||
// ignore updates (session creation is written) of *dav and avatar, due to possible high volume of updates
|
// ignore updates (session creation is written) of *dav, avatar and thumbnail, due to possible high volume of updates
|
||||||
!preg_match('#^(/webdav|/groupdav|/api/avatar)\.php#', $this->action) &&
|
!preg_match('#^(/webdav|/groupdav|/api/avatar|/api/thumbnail)\.php#', $this->action) &&
|
||||||
is_object($GLOBALS['egw']->db))
|
is_object($GLOBALS['egw']->db))
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->db->update(self::ACCESS_LOG_TABLE,array(
|
$GLOBALS['egw']->db->update(self::ACCESS_LOG_TABLE,array(
|
||||||
|
Loading…
Reference in New Issue
Block a user