X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=inline;f=web%2Fbriskin5%2Findex.php;h=68f6287e8b7bc35928c4d854e1db020a63ef8cd7;hb=56c0ce2aa8b9ddfc4cdf97802c5e70bc56577cc7;hp=deeeba5a4195b4df075b536330771a548192cb96;hpb=648e67ab39b09ae4a82fe2548a6c63154b61e901;p=brisk.git
diff --git a/web/briskin5/index.php b/web/briskin5/index.php
index deeeba5..68f6287 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,6 +64,7 @@ function bin5_index_main($transp_type, &$header_out, $addr, $get, $post, $cookie
?>