X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=80f7366a1a344b7eb9491c6010ce3267e1ab07aa;hb=f3b76ddf96b6efe09b15a3784c45753b97d0c0ec;hp=e9e25d7de4475e6a45b7c52cb2a5e16e89897c39;hpb=2eb2a4a01946e05b11b5309e1ed75cf7bdc9b7d2;p=brisk.git
diff --git a/web/briskin5/index.php b/web/briskin5/index.php
index e9e25d7..80f7366 100644
--- a/web/briskin5/index.php
+++ b/web/briskin5/index.php
@@ -27,7 +27,6 @@
$G_base = "../";
require_once("../Obj/brisk.phh");
-require_once("../Obj/proxyscan.phh");
require_once("Obj/briskin5.phh");
$mlang_bin5_index = array( 'aucwin' => array( 'it' => 'Hai vinto l\'asta.
Scegli il seme:',
@@ -47,9 +46,13 @@ $mlang_bin5_index = array( 'aucwin' => array( 'it' => 'Hai vinto l\'asta.
Sc
);
-function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie)
+function bin5_index_main($transp_type, $header, &$header_out, $addr, $get, $post, $cookie)
{
GLOBAL $G_lang, $mlang_bin5_index;
+
+ $transp_port = ((array_key_exists("X-Forwarded-Proto", $header) &&
+ $header["X-Forwarded-Proto"] == "https") ? 443 : 80);
+
if (($table_idx = gpcs_var('table_idx', $get, $post, $cookie)) === FALSE)
unset ($table_idx);
if (($laststate = gpcs_var('laststate', $get, $post, $cookie)) === FALSE)
@@ -57,11 +60,6 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie
if (($sess = gpcs_var('sess', $get, $post, $cookie)) === FALSE)
unset ($sess);
- // Use of proxies isn't allowed.
- // if (is_proxy()) {
- // return (FALSE);
- // }
-
// header('Content-type: text/html; charset="utf-8"',true);
?>
@@ -94,7 +92,7 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie
var gst = new globst();
gst.st = ";
- xstm = new xynt_streaming(window, "", 80, 2, null /* console */, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd.php', function(com){eval(com);});
+ xstm = new xynt_streaming(window, , 2, null /* console */, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd.php', function(com){eval(com);});
xstm.hbit_set(heartbit);
window.onbeforeunload = onbeforeunload_cb;