aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/cron.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index e179b3e8d6..6de493f0bf 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -29,7 +29,8 @@ function output_image()
echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
- // test without flush ;)
+ // Flush here to prevent browser from showing the page as loading while
+ // running cron.
flush();
}
@@ -70,6 +71,7 @@ else
$cron_type = request_var('cron_type', '');
$use_shutdown_function = (@function_exists('register_shutdown_function')) ? true : false;
+ // Comment this line out for debugging so the page does not return an image.
output_image();
}