Example #1
0
function parseTemplate_release_ticket()
{
    $ARRAY = unserialize(base64_decode($_REQUEST["serialize"]));
    parseTemplate_unlock_save(true, $ARRAY, true);
}
Example #2
0
}
$GLOBALS["KAV4PROXY_NOSESSION"] = true;
$GLOBALS["OUTPUT"] = false;
$GLOBALS["FORCE"] = false;
$GLOBALS["RELOAD"] = false;
$GLOBALS["RESTART"] = false;
$GLOBALS["TITLENAME"] = "URLfilterDB daemon";
$_GET["LOGFILE"] = "/var/log/artica-postfix/dansguardian.compile.log";
if (posix_getuid() != 0) {
    //$GLOBALS["VERBOSE"]=true;
    if (isset($_POST["smtp-send-email"])) {
        parseTemplate_smtp_post();
        exit;
    }
    if (isset($_POST["unlock-www"])) {
        parseTemplate_unlock_save();
        exit;
    }
    if (isset($_GET["unlock"])) {
        parseTemplate_unlock();
        exit;
    }
    if (isset($_GET["SquidGuardWebAllowUnblockSinglePass"])) {
        parseTemplate_SinglePassWord();
        die;
    }
    if (isset($_GET["smtp-send-js"])) {
        parseTemplate_sendemail_js();
        exit;
    }
    if (isset($_REQUEST["send-smtp-notif"])) {