]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ipblocklist.cgi: Theme fix
authorMatthias Fischer <matthias.fischer@ipfire.org>
Fri, 15 Jul 2022 12:04:45 +0000 (14:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Jul 2022 07:49:28 +0000 (07:49 +0000)
Themes have been dropped - 'ipblocklist.cgi' refused to start.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ipblocklist.cgi

index 431ff1a37b05dbed2eda427502ec81860e7a9e44..bb438129c94ce9013ffc2008c694fc41abbda5ed 100644 (file)
@@ -62,7 +62,7 @@ my %settings = (
 # Read all parameters
 &Header::getcgihash( \%cgiparams);
 &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);
 
 # Get list of supported blocklists.
 my @blocklists = &IPblocklist::get_blocklists();