aboutsummaryrefslogtreecommitdiffstats
path: root/async.php
diff options
context:
space:
mode:
Diffstat (limited to 'async.php')
-rw-r--r--async.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/async.php b/async.php
index 8e858df..e8e98da 100644
--- a/async.php
+++ b/async.php
@@ -20,8 +20,6 @@ spl_autoload_register(function($classname) {
require_once sprintf($classpath, $classname);
});
-require_once 'include/functions.php';
-
#===============================================================================
# Check if BigPipe should be disabled
#===============================================================================
@@ -111,7 +109,7 @@ require_once 'include/pagelets.php';
<?php endif;
if(isAsyncRequest()) {
- $BUFFER = removeLineBreaksAndTabs(ob_get_clean());
+ $BUFFER = ob_get_clean();
echo '<script>["Application","BigPipe"].forEach(function(name){window[name] = parent[name];});</script>'."\n";
echo '<script>Application.placeholderHTML('.json_encode($BUFFER).');</script>'."\n\n";
}