X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fbriskin5%2Findex.php;h=68f6287e8b7bc35928c4d854e1db020a63ef8cd7;hb=refs%2Ftags%2Fv5.8.0;hp=15b449f11921a7a0be68a4ab66f7569f8c5ae73d;hpb=ddd822f1dca51731cc9fc8199db3f1cc527fb01a;p=brisk.git
diff --git a/web/briskin5/index.php b/web/briskin5/index.php
index 15b449f..68f6287 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,15 +60,11 @@ 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);
?>