mirror of
https://github.com/itflow-org/itflow
synced 2026-08-05 07:07:14 +00:00
Claim shared item views atomically and log guest audit IPs
This commit is contained in:
@@ -13,6 +13,10 @@ session_start();
|
||||
|
||||
require_once "../includes/inc_set_timezone.php"; // Must be included after session_start to work
|
||||
|
||||
// logAudit() reads these globals - without them guest audit rows have no IP
|
||||
$session_ip = escapeSql(getIP());
|
||||
$session_user_agent = escapeSql($_SERVER['HTTP_USER_AGENT']);
|
||||
|
||||
if (isset($_GET['accept_quote'], $_GET['url_key'])) {
|
||||
|
||||
$quote_id = intval($_GET['accept_quote']);
|
||||
|
||||
Reference in New Issue
Block a user