projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stream page fast reload bug fixed
[brisk.git]
/
web
/
Obj
/
user.phh
diff --git
a/web/Obj/user.phh
b/web/Obj/user.phh
index
761c9cc
..
1fc59a2
100644
(file)
--- a/
web/Obj/user.phh
+++ b/
web/Obj/user.phh
@@
-710,7
+710,7
@@
class User {
$S_load_stat['wR_minusone']++;
if ($this->the_end == TRUE) {
$S_load_stat['wR_minusone']++;
if ($this->the_end == TRUE) {
- log_rd2("main_check: the end".var_export(debug_backtrace()));
+
//
log_rd2("main_check: the end".var_export(debug_backtrace()));
$is_page_streaming = TRUE;
}
$is_page_streaming = TRUE;
}
@@
-944,31
+944,23
@@
push(\"%s\");
return TRUE;
}
return TRUE;
}
-function stream_keepalive()
+function stream_keepalive(
$with_ping
)
{
{
-
return
(sprintf("<script id='hs%d' type='text/javascript'><!--
-push(
null
);
+
$ret =
(sprintf("<script id='hs%d' type='text/javascript'><!--
+push(
%s
);
// -->
// -->
-</script>", $this->rd_scristp++));
-
+</script>", $this->rd_scristp++, ($with_ping ? "\"act_ping();\"" : "null")));
+
+ return ($ret);
}
}
-
function stream_ping
()
+
static function base_get
()
{
{
- return (sprintf("<script id='hs%d' type='text/javascript'><!--
-push(\"act_ping();\");
-// -->
-</script>", $this->rd_scristp++));
-
+ $c = get_called_class();
+ printf("CALLED_CLASS: [%s]\n", $c);
+ return $c::BASE;
}
}
- static function base_get()
- {
- $c = get_called_class();
- printf("CALLED_CLASS: [%s]\n", $c);
- return $c::BASE;
- }
-
} // end class User
} // end class User