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