function import_headers_regex() { $main = new main_header_check(); $main->import_examples(); }
function import_headers_regex() { $main_header = new main_header_check(); $hash = $main_header->import_examples(true); writelogs("{$_GET["hostname"]}:: Import " . count($hash) . " rules", __FUNCTION__, __FILE__, __LINE__); if (is_array($hash)) { $main = new maincf_multi($_GET["hostname"], $_GET["ou"]); $main->SET_BIGDATA("header_check", base64_encode(serialize($hash))); $sock = new sockets(); if ($_GET["hostname"] == "master") { $sock->getFrameWork("cmd.php?headers-check-postfix=yes"); } else { $sock->getFrameWork("cmd.php?postfix-multi-settings={$_GET["hostname"]}"); } } }