projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enhanced mop_flush
[brisk.git]
/
web
/
index_rd_ifra.php
diff --git
a/web/index_rd_ifra.php
b/web/index_rd_ifra.php
index
7546c2c
..
4329397
100644
(file)
--- a/
web/index_rd_ifra.php
+++ b/
web/index_rd_ifra.php
@@
-560,9
+560,8
@@
function index_rd_ifra_init(&$room, &$user, &$header_out, &$body, $get, $post, $
<script type=\"text/javascript\" src=\"xynt-http-streaming-ifra.js\"></script>
<script type=\"text/javascript\">
var http_streaming = \"ready\";");
<script type=\"text/javascript\" src=\"xynt-http-streaming-ifra.js\"></script>
<script type=\"text/javascript\">
var http_streaming = \"ready\";");
- if (isset($st)) {
- $body .= sprintf("last_clean = %d;\n", $st);
- }
+ if ($user->rd_scristp > 0)
+ $body .= sprintf("last_clean = %d;\n", ($user->rd_scristp-1));
$body .= sprintf("
window.onload = function () { if (http_streaming != \"ready\") { http_streaming.reload(); } };
</script>
$body .= sprintf("
window.onload = function () { if (http_streaming != \"ready\") { http_streaming.reload(); } };
</script>
@@
-576,6
+575,8
@@
window.onload = function () { if (http_streaming != \"ready\") { http_streaming.
function index_rd_ifra_main(&$room, &$user, &$body)
{
GLOBAL $is_page_streaming;
function index_rd_ifra_main(&$room, &$user, &$body)
{
GLOBAL $is_page_streaming;
+ // FIXME: only to test fwrite
+ // GLOBAL $G_four_rnd_string;
$is_page_streaming = FALSE;
log_rd2("FROM OUTSIDE - STAT: ".$user->rd_stat." SUBST: ".$user->rd_subst." STEP: ".$user->rd_step." FROM: ".$user->rd_from. "IS_PAGE:" . $is_page_streaming);
$is_page_streaming = FALSE;
log_rd2("FROM OUTSIDE - STAT: ".$user->rd_stat." SUBST: ".$user->rd_subst." STEP: ".$user->rd_step." FROM: ".$user->rd_from. "IS_PAGE:" . $is_page_streaming);
@@
-598,6
+599,11
@@
function index_rd_ifra_main(&$room, &$user, &$body)
echo "$ret";
echo ' @END@';
}
echo "$ret";
echo ' @END@';
}
+
+ // FIXME only to test fwrite
+ // for ($u = 0 ; $u < 10 ; $u++) {
+ // $body .= sprintf("<!-- \n%s -->\n", $G_four_rnd_string);
+ // }
$body .= sprintf("<script id='hs%d' type='text/javascript'><!--
push(\"%s\");
// -->
$body .= sprintf("<script id='hs%d' type='text/javascript'><!--
push(\"%s\");
// -->