move curl-de-sac stuff optionally included
[brisk.git] / web / spush / brisk-spush.php
index 7b1ddc0..6e07d92 100755 (executable)
@@ -28,12 +28,11 @@ $G_base = "../";
 require_once($G_base."Obj/sac-a-push.phh");
 require_once("./brisk-spush.phh");
 require_once($G_base."Obj/user.phh");
+@include_once($G_base."Obj/curl-de-brisk.phh");
 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");
 require_once($G_base."briskin5/Obj/briskin5.phh");
@@ -45,19 +44,6 @@ 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) {