diff options
-rw-r--r-- | async.php | 2 | ||||
-rw-r--r-- | include/classes/BigPipe/BigPipe.php | 2 | ||||
-rw-r--r-- | index.php | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -121,7 +121,7 @@ if(isAsyncRequest()) { echo '<script>Application.placeholderHTML('.json_encode($BUFFER).');</script>'."\n\n"; } -BigPipe\BigPipe::render(); +BigPipe\BigPipe::completeResponse(); ?> </body> </html>
\ No newline at end of file diff --git a/include/classes/BigPipe/BigPipe.php b/include/classes/BigPipe/BigPipe.php index b94a6ae..9bb9fcb 100644 --- a/include/classes/BigPipe/BigPipe.php +++ b/include/classes/BigPipe/BigPipe.php @@ -64,7 +64,7 @@ class BigPipe { #=============================================================================== # Renders all remaining pagelets from the queue in the appropriate order #=============================================================================== - public static function render() { + public static function completeResponse() { self::flushOutputBuffer(); $pagelets_ordered = []; @@ -58,7 +58,7 @@ echo $PageletGreen; <footer><strong>The footer of the page.</strong></footer> <?php -BigPipe\BigPipe::render(); +BigPipe\BigPipe::completeResponse(); ?> </body> </html>
\ No newline at end of file |