From b0840e2820cece188f070d2e4ec7b7e81c2c0f1c Mon Sep 17 00:00:00 2001 From: Alex Phillips Date: Thu, 3 Feb 2022 09:39:48 -0500 Subject: [PATCH] fixed syntax error --- root/dashboard/www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/dashboard/www/index.php b/root/dashboard/www/index.php index 397719f..c3b4b40 100644 --- a/root/dashboard/www/index.php +++ b/root/dashboard/www/index.php @@ -253,7 +253,7 @@ endif; $access_log = file_exists("/dashboard/logs") ? "/dashboard/logs/*" : "/config/log/nginx/access.log"; - $goaccess = shell_exec("cat $access_log" | /usr/local/bin/goaccess -a -o html --config-file=/dashboard/goaccess.conf $geodb -"); + $goaccess = shell_exec("cat $access_log | /usr/local/bin/goaccess -a -o html --config-file=/dashboard/goaccess.conf $geodb -"); $goaccess = str_replace("Server Statistics", "<title>SWAG Dashboard", $goaccess); $goaccess = str_replace("<h1 class='h-dashboard'>", "<h1>", $goaccess); $goaccess = str_replace("<i class='fa fa-tachometer'></i>", "<img src='/icon.svg' width='32' height='32'> SWAG ", $goaccess);