X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Fbriskin5.phh;h=8388df8cc207070960f3da93c815be387787f9c4;hb=809cb505ca6a85558d88140f7c9dbadbf82b080e;hp=6e3a52f77328c1604a69673089713a55c6add1cf;hpb=9a17da4020740578e3a744630fd6be96c8237cab;p=brisk.git diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index 6e3a52f..8388df8 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -1211,6 +1211,11 @@ class Bin5 { break; case "index_rd_ifra.php": + if (($transp = gpcs_var('transp', $get, $post, $cookie)) === FALSE) + $transp = "iframe"; + if ($transp == 'websocket') + $enc = 'plain'; + do { if (!isset($table_idx) || !isset($table_token) @@ -1233,7 +1238,8 @@ class Bin5 { } $content = ""; - $user->stream_init($s_a_p->rndstr, $enc, $header_out, $content, $get, $post, $cookie); + $user->stream_init($s_a_p->rndstr, $enc, $header, $header_out, $content, $get, $post, $cookie); + $response = headers_render($header_out, -1).$user->chunked_content($content); $response_l = mb_strlen($response, "ASCII");