From 550fed51dc8315faf636cacb305963019f6d8a80 Mon Sep 17 00:00:00 2001 From: Squidly271 Date: Mon, 29 Jan 2024 19:16:22 -0500 Subject: [PATCH] Update Feedback.php --- emhttp/plugins/dynamix/include/Feedback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/include/Feedback.php b/emhttp/plugins/dynamix/include/Feedback.php index d552a59ff..f8cbc1a06 100644 --- a/emhttp/plugins/dynamix/include/Feedback.php +++ b/emhttp/plugins/dynamix/include/Feedback.php @@ -14,7 +14,7 @@ $docroot ??= ($_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp'); if (array_key_exists('getdiagnostics', $_GET)) { $anonymize = empty($_GET['anonymize']) ? '-a' : ''; - $diag_file = '/tmp/feedback_diagnostics_'.time().'.zip'; + $diag_file = '/tmp/feedback-diagnostics-'.date('Ymd-Hi').'.zip'; exec("$docroot/webGui/scripts/diagnostics $anonymize $diag_file"); echo base64_encode(@file_get_contents($diag_file)); @unlink($diag_file);