mirror of
https://github.com/itflow-org/itflow
synced 2026-11-25 22:07:26 +00:00
Show which categories a managed instance's errors were logged under: its check-in sends the count per category, never the error text, which can hold client addresses and subjects; the manager names them in the health line and lists them under Errors today, where the count and each category sign in as support straight to the instance's App Logs filtered to those errors, a page an older instance ignores so its count stays plain; Managed By's list of what it tells its manager says so
This commit is contained in:
@@ -75,5 +75,9 @@ $session_user_id = $support_user_id;
|
||||
logAudit("Login", "Support", escapeSql("Support sign-in from $support_manager" . ($support_label !== '' ? " - $support_label" : '')), 0, $support_user_id);
|
||||
appNotify("Management", escapeSql(($support_label !== '' ? $support_label : 'Support') . " from $support_manager signed in for support"), "/admin/audit_logs.php", 0, $support_user_id);
|
||||
|
||||
// The page the manager sent them to (its error log, say), else the start page
|
||||
if ($support_who['page'] !== '') {
|
||||
redirect('/' . $support_who['page']);
|
||||
}
|
||||
$support_start_page = (string) (mysqli_fetch_row(mysqli_query($mysqli, "SELECT config_start_page FROM settings WHERE company_id = 1"))[0] ?? '');
|
||||
redirect("/agent/" . (preg_match('/^[a-z0-9_\/.?=&-]+$/i', $support_start_page) ? $support_start_page : 'clients.php'));
|
||||
|
||||
Reference in New Issue
Block a user