X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fspush%2Fbrisk-spush.php;fp=web%2Fspush%2Fbrisk-spush.php;h=7b1ddc0df96c93dfce9361da6bf8f61953cc1d2b;hb=7bccbb21239ca3cecf2914e9b307ab1e1b1aa46e;hp=cbbce76efb39a04565346d63c6a90f5b41544445;hpb=8f16acf48b22363d40ba1e072b3c09cbacc88c18;p=brisk.git diff --git a/web/spush/brisk-spush.php b/web/spush/brisk-spush.php index cbbce76..7b1ddc0 100755 --- a/web/spush/brisk-spush.php +++ b/web/spush/brisk-spush.php @@ -32,6 +32,7 @@ require_once($G_base."Obj/brisk.phh"); require_once($G_base."Obj/auth.phh"); require_once($G_base."Obj/zlibstream.phh"); require_once($G_base."Obj/mail.phh"); +require_once($G_base."Obj/curl-de-brisk.phh"); // require_once("../Obj/proxyscan.phh"); require_once($G_base."index.php"); require_once($G_base."index_wr.php"); @@ -44,6 +45,19 @@ function main($argv) { GLOBAL $G_ban_list, $G_black_list; + // create cds + $cds = new Curl_de_sac(); + + // create tor_chk_cls + $tor_chk_cls = new tor_chk_cmd_cls(); + + // registrer tor_chk_cls + printf("MAIN: Register 'tor_chk_cls'\n"); + if (($cds->cmd_cls_register($tor_chk_cls)) == FALSE) { + fprintf(STDERR, "MAIN: 'tor_chk_cls' registration failed\n"); + exit(1); + } + pid_save(); do { if (($brisk = Brisk::create(LEGAL_PATH."/brisk-crystal.data", $G_ban_list, $G_black_list)) == FALSE) {