]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ipblocklist.dat: Do not rely on any theme settings.
authorRob Brewer <rob.brewer@ipfire.org>
Sun, 3 Apr 2022 08:55:34 +0000 (10:55 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 7 Jul 2022 15:26:14 +0000 (17:26 +0200)
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 <rob.brewer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/logs.cgi/ipblocklists.dat

index d4b2593a788c4b9d5be1c841226f05cba2892d6f..2435137b5e7a37ee3529443e80c0368e5f761380 100755 (executable)
@@ -295,7 +295,7 @@ print "<p><b>$Lang::tr{'ipblocklist hits'} $longmonthstr $daystr: $lines</b></p>
 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);