This commit is contained in:
leosw
2025-08-30 11:40:30 +02:00
parent f284c1883c
commit bd8786daed

View File

@@ -125,8 +125,8 @@ if(isset($controller->splitted_url[1]) && $user->rankIsHigher("moderator")) {
$head['title'] = "Statistiques";
$report = $config['abs_root_folder'];
$command = '(zcat /var/log/nginx/kabano.org-access.log*.gz && cat /var/log/nginx/kabano.org-access.log.1) | goaccess --log-format=COMBINED -o '.escapeshellarg($report);
exec($command, $output, $result);
/* exec($command, $output, $result);
*/ $output = shell_exec($command);
include ($config['views_folder']."d.admin.stats.html");
}
else {