From: Matteo Nastasi (mop) Date: Thu, 9 Oct 2014 06:22:33 +0000 (+0200) Subject: pass $header to underline function that require them X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=curl-de-sac.git;a=commitdiff_plain;h=0fb317577133f1ff895985bbcacd4ae0b0afde80 pass $header to underline function that require them --- diff --git a/web/Obj/curl-de-brisk.phh b/web/Obj/curl-de-brisk.phh index 5c23651..b19d3d5 100755 --- a/web/Obj/curl-de-brisk.phh +++ b/web/Obj/curl-de-brisk.phh @@ -37,12 +37,12 @@ function brisk_cds_reload($brisk) return (TRUE); } -function brisk_cds_execute($brisk, $real_idx, $sess, $ip, $authenticate) +function brisk_cds_execute($brisk, $ghost, $real_idx, $sess, $ip, $authenticate, $header) { - if ($brisk->cds->execute("tor_chk", $brisk, $ghost, $sess, $ip, $authenticate != FALSE) == FALSE) { + if ($brisk->cds->execute("tor_chk", $brisk, $ghost, $sess, $ip, $authenticate != FALSE, $header) == FALSE) { log_main("cds_execute failed"); } - if ($brisk->cds->execute("proxy_chk", $brisk, $ghost, $sess, $ip, $authenticate != FALSE) == FALSE) { + if ($brisk->cds->execute("proxy_chk", $brisk, $ghost, $sess, $ip, $authenticate != FALSE, $header) == FALSE) { log_main("cds_execute failed"); } }