fix stats finally
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
db.sqlite
|
||||
uploads/*
|
||||
stats.html
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user