mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
urlfilter.cgi: Fix path to squidGuard binary when converting custom blacklists.
Fixes #10626.
This commit is contained in:
@@ -935,7 +935,7 @@ if (($besettings{'ACTION'} eq $Lang::tr{'urlfilter install blacklist'}) && ($bes
|
||||
close FILE;
|
||||
|
||||
system("rm -f $dbdir/$besettings{'BE_NAME'}/*.db");
|
||||
system("/usr/sbin/squidGuard -c $editdir/install.conf -C all");
|
||||
system("/usr/bin/squidGuard -c $editdir/install.conf -C all");
|
||||
system("chmod a+w $dbdir/$besettings{'BE_NAME'}/*.db");
|
||||
|
||||
&readblockcategories;
|
||||
|
||||
Reference in New Issue
Block a user