mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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 <rob.brewer@ipfire.org> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
committed by
Stefan Schantl
parent
bbbea6f9ba
commit
98d50c03e7
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user