mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Fixed 2 CGIs for core31
This commit is contained in:
@@ -103,7 +103,7 @@ if ($cgiparams{'SUBMIT'} eq $tr{'advproxy chgwebpwd change password'})
|
||||
$errormessage = $tr{'advproxy errmsg password incorrect'};
|
||||
goto ERROR;
|
||||
}
|
||||
$returncode = system("/usr/bin/htpasswd -b $userdb $username $cgiparams{'NEW_PASSWORD_1'}");
|
||||
$returncode = system("/usr/sbin/htpasswd -b $userdb $username $cgiparams{'NEW_PASSWORD_1'}");
|
||||
if ($returncode == 0)
|
||||
{
|
||||
$success = 1;
|
||||
|
||||
@@ -2973,7 +2973,7 @@ sub writeconfigfile
|
||||
foreach $category (@categories) {
|
||||
$blacklist = $category;
|
||||
$category =~ s/\//_/g;
|
||||
if ( $filtersettings{"FILTER_".uc($category)} ne "on" ){next;}
|
||||
#if ( $filtersettings{"FILTER_".uc($category)} ne "on" ){next;}
|
||||
print FILE "dest $category {\n";
|
||||
if (-e "$dbdir/$blacklist/domains") {
|
||||
print FILE " domainlist $blacklist\/domains\n";
|
||||
|
||||
Reference in New Issue
Block a user