mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Make sure access rules come after acls
This commit is contained in:
@@ -26,7 +26,7 @@ else {
|
||||
if ($http) { splice(@https, &indexof($http, @https), 1, $newhttp); }
|
||||
else { push(@https, $newhttp); }
|
||||
}
|
||||
&save_directive($conf, "http_access", \@https);
|
||||
&save_directive($conf, "http_access", \@https, "acl");
|
||||
&flush_file_lines();
|
||||
&unlock_file($config{'squid_conf'});
|
||||
&webmin_log($in{'delete'} ? 'delete' : $http ? 'modify' : 'create', "http");
|
||||
|
||||
@@ -26,7 +26,7 @@ else {
|
||||
if ($icp) { splice(@icps, &indexof($icp, @icps), 1, $newicp); }
|
||||
else { push(@icps, $newicp); }
|
||||
}
|
||||
&save_directive($conf, "icp_access", \@icps);
|
||||
&save_directive($conf, "icp_access", \@icps, "acl");
|
||||
&flush_file_lines();
|
||||
&unlock_file($config{'squid_conf'});
|
||||
&webmin_log($in{'delete'} ? 'delete' : $icp ? 'modify' : 'create', "icp");
|
||||
|
||||
Reference in New Issue
Block a user