mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 22:28:46 +01:00
[ticket/10046] Call flush() in cron.php
PHPBB3-10046
This commit is contained in:
parent
ec15ac92f3
commit
79d209824f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user