aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/cron.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php
index 16880b8914..8000066c92 100644
--- a/phpBB/cron.php
+++ b/phpBB/cron.php
@@ -29,10 +29,9 @@ header('Content-length: 43');
echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
-// test without flush ;)
-// flush();
+// Flush here to prevent browser from showing the page as loading while running cron.
+flush();
-//
if (!isset($config['cron_lock']))
{
set_config('cron_lock', '0', true);