summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-12-03 00:07:36 +0100
committerMichael Hamann <michael@content-space.de>2012-12-03 00:07:36 +0100
commit4f4c6fd5079db8beb50ea9b9aa08351a49a57d21 (patch)
treefa8c614618fe8d48b355c7170110f8a8d3c3e08b /lib/exe
parent48a1417ef1d153f5c7994aa7ced8da4e710bc70e (diff)
downloadrpg-4f4c6fd5079db8beb50ea9b9aa08351a49a57d21.tar.gz
rpg-4f4c6fd5079db8beb50ea9b9aa08351a49a57d21.tar.bz2
lib/exe/indexer.php: Fix sending of the GIF when it is deferred FS#2646
Before this change the GIF wasn't sent at all when the PHP settings indicate that sending of the GIF needs to be deferred and it was sent when the debug output was on.
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/indexer.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php
index c336514cd..28ee5331f 100644
--- a/lib/exe/indexer.php
+++ b/lib/exe/indexer.php
@@ -37,9 +37,12 @@ if ($evt->advise_before()) {
runTrimRecentChanges(true) or
$evt->advise_after();
}
-if($defer) sendGIF();
-if(!$output) ob_end_clean();
+if(!$output) {
+ ob_end_clean();
+ if($defer) sendGIF();
+}
+
exit;
// --------------------------------------------------------------------