Themes have been dropped - 'ipblocklist.cgi' refused to start.
Signed-off-by: Matthias Fischer matthias.fischer@ipfire.org --- html/cgi-bin/ipblocklist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html/cgi-bin/ipblocklist.cgi b/html/cgi-bin/ipblocklist.cgi index 431ff1a37..bb438129c 100644 --- a/html/cgi-bin/ipblocklist.cgi +++ b/html/cgi-bin/ipblocklist.cgi @@ -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();
Acked-by: Stefan Schantl stefan.schantl@ipfire.org
Am 15. Juli 2022 14:04:53 schrieb Matthias Fischer matthias.fischer@ipfire.org:
Themes have been dropped - 'ipblocklist.cgi' refused to start.
Signed-off-by: Matthias Fischer matthias.fischer@ipfire.org
html/cgi-bin/ipblocklist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html/cgi-bin/ipblocklist.cgi b/html/cgi-bin/ipblocklist.cgi index 431ff1a37..bb438129c 100644 --- a/html/cgi-bin/ipblocklist.cgi +++ b/html/cgi-bin/ipblocklist.cgi @@ -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(); -- 2.25.1