summaryrefslogtreecommitdiff
path: root/lib/exe/indexer.php
diff options
context:
space:
mode:
authorChristoph Dwertmann <cdwertmann@gmail.com>2015-03-17 18:22:29 +1100
committerChristoph Dwertmann <cdwertmann@gmail.com>2015-03-17 18:22:29 +1100
commite13bd5dcd000cc82ed5f1379dac0d674789d3a0c (patch)
tree2368762f7fea1525b58fb9b32d9ac893c24d7beb /lib/exe/indexer.php
parentea0c142784dedbbc3e93b84bea865a40ccb6dc94 (diff)
downloadrpg-e13bd5dcd000cc82ed5f1379dac0d674789d3a0c.tar.gz
rpg-e13bd5dcd000cc82ed5f1379dac0d674789d3a0c.tar.bz2
Speed up indexer on lighttpd by using tpl_flush()
Diffstat (limited to 'lib/exe/indexer.php')
-rw-r--r--lib/exe/indexer.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php
index 2de178caa..d2a4d45f7 100644
--- a/lib/exe/indexer.php
+++ b/lib/exe/indexer.php
@@ -199,8 +199,7 @@ function sendGIF(){
header('Content-Length: '.strlen($img));
header('Connection: Close');
print $img;
- ob_flush();
- flush();
+ tpl_flush();
// Browser should drop connection after this
// Thinks it's got the whole image
}