fix stats finally

This commit is contained in:
leosw
2025-12-27 19:21:56 +01:00
parent 428f939a76
commit d9420f180b
3 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
db.sqlite
uploads/*
stats.html

View File

@@ -184,7 +184,6 @@ 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é
@@ -195,7 +194,7 @@ if ($action === 'admin_generate_stats') {
}
// Redirection vers le rapport
//header("Location: stats.html");
header("Location: stats.html");
exit;
}

File diff suppressed because one or more lines are too long