X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=5ed0bd364645d9c64933c621d3de7e8543a42e76;hb=1cc28eaacbcb2e5a5b3a788d17d39b66fb8898f7;hp=72658baf9ad9f5bba134abf0e17c23917e6a9912;hpb=0b1e5521bd8d1c7b6f349038fe4daa819da11d0e;p=brisk.git diff --git a/web/index.php b/web/index.php index 72658ba..5ed0bd3 100644 --- a/web/index.php +++ b/web/index.php @@ -213,7 +213,7 @@ function carousel_top() return (sprintf('', $rn)); } -function index_main(&$room, &$header_out, $addr, $get, $post, $cookie) +function index_main(&$room, $transp_type, &$header_out, $addr, $get, $post, $cookie) { GLOBAL $G_with_donors, $G_donors_cur, $G_donors_all; GLOBAL $G_with_topbanner, $G_topbanner, $G_is_local; @@ -233,8 +233,7 @@ function index_main(&$room, &$header_out, $addr, $get, $post, $cookie) unset ($table_idx); if (($table_token = gpcs_var('table_idx', $get, $post, $cookie)) === FALSE) unset ($table_token); - - + // Use of proxies isn't allowed. if (!$G_is_local && is_proxy($addr)) { return FALSE; @@ -297,7 +296,7 @@ function index_main(&$room, &$header_out, $addr, $get, $post, $cookie) $cookies->add("table_token", $user->table_token, $curtime + 31536000); $cookies->add("table_idx", $user->table, $curtime + 31536000); $header_out['cookies'] = $cookies; - $header_out['Location'] = "Location: briskin5/index.php"; + $header_out['Location'] = "briskin5/index.php"; return TRUE; } @@ -862,7 +861,7 @@ supported by:
- + @@ -997,7 +996,7 @@ echo "$body"; ?> - + @@ -1057,7 +1056,7 @@ else { ?> sess = ""; -xstm = new xynt_streaming(window, null /* console*/ , gst, 'index_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);}); +xstm = new xynt_streaming(window, "", null /* console */, gst, 'index_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);}); xstm.hbit_set(heartbit); tra = new train($('room_tit')); window.onunload = onunload_cb;