Upload via GUI (278 Dateien)

This commit is contained in:
2026-10-21 16:44:49 +00:00
parent a94a36444c
commit 71eae4116a
6 changed files with 101 additions and 2 deletions
+2 -1
View File
@@ -34,8 +34,9 @@ if ($last && $elapsed > ($timeout * 60)) {
exit;
}
// Aktivität erneuern
// Aktivität erneuern (dieser Ping kommt nur bei echten Klicks, Tipps und Mausbewegungen)
$_SESSION['staff_last_activity'] = time();
staff_touch_activity(get_db(), (int) $_SESSION['staff_id']);
$remaining = $timeout * 60;
echo json_encode(['ok' => true, 'remaining' => $remaining]);