This commit is contained in:
leosw
2025-08-30 12:39:24 +02:00
parent df2e08f54a
commit 16ca71e399

View File

@@ -128,7 +128,7 @@ if(isset($controller->splitted_url[1]) && $user->rankIsHigher("moderator")) {
$command = '/bin/bash -c \'(zcat '.implode(' ', $files).' && cat /var/log/nginx/kabano.org-access.log.1) | goaccess --log-format=COMBINED --no-progress -o '.escapeshellarg($report).'\' 2>&1'; $command = '/bin/bash -c \'(zcat '.implode(' ', $files).' && cat /var/log/nginx/kabano.org-access.log.1) | goaccess --log-format=COMBINED --no-progress -o '.escapeshellarg($report).'\' 2>&1';
$output = shell_exec($command); $output = shell_exec($command);
echo shell_exec('env'); echo shell_exec('echo $PATH');
include ($config['views_folder']."d.admin.stats.html"); include ($config['views_folder']."d.admin.stats.html");
} }