function is31() { if (isset($GLOBALS["is31"])) { return $GLOBALS["is31"]; } $root_squid_version = root_squid_version(); if ($GLOBALS["VERBOSE"]) { echo "Version: {$root_squid_version}\n"; } $data = null; $GLOBALS["is31"] = false; $VER = explode(".", $root_squid_version); if ($VER[0] < 4) { if ($VER[1] < 2) { if ($GLOBALS["VERBOSE"]) { echo "{$root_squid_version} -> is 3.1.x\n"; } $GLOBALS["is31"] = true; return true; } } return false; }
exit; } if (isset($_GET["ufdbguard-compile-database"])) { ufdbguard_compile_database(); exit; } if (isset($_GET["ufdbguard-compile-alldatabases"])) { ufdbguard_compile_all_databases(); exit; } if (isset($_GET["caches-types"])) { caches_type(); exit; } if (isset($_GET["full-version"])) { root_squid_version(); exit; } if (isset($_GET["full-dans-version"])) { root_dansg_version(); exit; } if (isset($_GET["full-ufdbg-version"])) { root_ufdbg_version(); exit; } if (isset($_GET["recategorize-task"])) { recategorize_task(); exit; } if (isset($_GET["recategorize-day"])) {