From 98d50c03e71be54dcc29b24a60f042fe3f061688 Mon Sep 17 00:00:00 2001 From: Rob Brewer Date: Sun, 3 Apr 2022 10:55:34 +0200 Subject: [PATCH] ipblocklist.dat: Do not rely on any theme settings. The support for themes has been removed since ages, so we do not need this anymore and may crash the page. Signed-off-by: Rob Brewer Signed-off-by: Stefan Schantl --- html/cgi-bin/logs.cgi/ipblocklists.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/logs.cgi/ipblocklists.dat b/html/cgi-bin/logs.cgi/ipblocklists.dat index d4b2593a78..2435137b5e 100755 --- a/html/cgi-bin/logs.cgi/ipblocklists.dat +++ b/html/cgi-bin/logs.cgi/ipblocklists.dat @@ -295,7 +295,7 @@ print "

$Lang::tr{'ipblocklist hits'} $longmonthstr $daystr: $lines

my %color = (); my %mainsettings = (); &General::readhash("${General::swroot}/main/settings", \%mainsettings); -&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color); +&General::readhash("/srv/web/ipfire/html/themes/ipfire/include/colors.txt", \%color); my @lists = sort keys (%lists); -- 2.39.5