예제 #1
0
function main_acl_rue_enable()
{
    $acl_rule = $_GET["SquidAclActiveRule"];
    $active = $_GET["active"];
    $hostname = $_GET["hostname"];
    $squid = new squid($hostname);
    $squid->EditAclEnable($acl_rule, $active);
}