diff --git a/root/dashboard/www/index.php b/root/dashboard/www/index.php index a058e3cf9..582924379 100644 --- a/root/dashboard/www/index.php +++ b/root/dashboard/www/index.php @@ -291,7 +291,7 @@ function GetGoaccess() { endif; $access_log = file_exists("/dashboard/logs") ? "/dashboard/logs/*.log" : "/config/log/nginx/access.log"; - $goaccess = shell_exec("cat $access_log | /usr/bin/goaccess -a -o html --config-file=/dashboard/goaccess.conf $geodb $asndb -"); + $goaccess = shell_exec("/usr/bin/goaccess $access_log -a -o html --config-file=/dashboard/goaccess.conf $geodb $asndb"); $goaccess = str_replace("
", "