From 428f939a767e0240ec8d690a3384145c10623407 Mon Sep 17 00:00:00 2001 From: leosw Date: Sat, 27 Dec 2025 19:15:35 +0100 Subject: [PATCH] debug stats --- index.php | 3 ++- stats.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 stats.html diff --git a/index.php b/index.php index 906db98..6ccd0a6 100644 --- a/index.php +++ b/index.php @@ -184,6 +184,7 @@ if ($action === 'admin_generate_stats') { . " -' 2>&1"; // Exécuter + echo($cmd); $output = shell_exec($cmd); // Vérifier si le fichier a été généré @@ -194,7 +195,7 @@ if ($action === 'admin_generate_stats') { } // Redirection vers le rapport - header("Location: stats.html"); + //header("Location: stats.html"); exit; } diff --git a/stats.html b/stats.html new file mode 100644 index 0000000..552de41 --- /dev/null +++ b/stats.html @@ -0,0 +1 @@ +Statistiques du serveur
\ No newline at end of file