mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 16:32:59 +02:00
urlfilter: Make redirect.cgi template selectable.
This commit is contained in:
@@ -33,7 +33,7 @@ my %filtersettings;
|
||||
&readhash("$swroot/urlfilter/settings", \%filtersettings);
|
||||
|
||||
# Read the template file.
|
||||
my $template = $filtersettings{'ERROR_TEMPLATE'};
|
||||
my $template = $filtersettings{'REDIRECT_TEMPLATE'};
|
||||
if (($template eq '') || (! -e "$templateroot/$template")) {
|
||||
$template = "legacy";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user