aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-03-12 14:40:20 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-03-12 14:56:47 +0100
commit79d209824f9d88fa8116ace1a14d25900ed9466f (patch)
tree9f9849ca40e1cf8e6e234bba98355d4e95899ce6
parentec15ac92f3935e08bbdb42db57586fb12a67be55 (diff)
downloadforums-79d209824f9d88fa8116ace1a14d25900ed9466f.tar
forums-79d209824f9d88fa8116ace1a14d25900ed9466f.tar.gz
forums-79d209824f9d88fa8116ace1a14d25900ed9466f.tar.bz2
forums-79d209824f9d88fa8116ace1a14d25900ed9466f.tar.xz
forums-79d209824f9d88fa8116ace1a14d25900ed9466f.zip
[ticket/10046] Call flush() in cron.php
PHPBB3-10046
-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);