Exemple #1
0
function main_access_rules_insert_acl()
{
    $hostname = $_GET["hostname"];
    if ($_GET["isnot"] == 'yes') {
        $_GET["acl"] = "!{$_GET["acl"]}";
    }
    $squid = new squid($hostname);
    $squid->Restrictions_insert_acl($_GET["InsertIntoAccessAclRule"], $_GET["index"], $_GET["acl"]);
}