X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex.php;h=d252f837fca5f8b5ced936a29940a11ece1719c6;hb=ef803790810bc43b636d3e8bcf5ad8597e7f979b;hp=80bc798734a16aaa081a7758da2cb01d403cb2c6;hpb=c7ea164705798e0487508067997fb06420c9ef0c;p=brisk.git
diff --git a/web/briskin5/index.php b/web/briskin5/index.php
index 80bc798..d252f83 100644
--- a/web/briskin5/index.php
+++ b/web/briskin5/index.php
@@ -46,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)
@@ -60,28 +64,32 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie
?>