mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/10046] Call flush() in cron.php
PHPBB3-10046
This commit is contained in:
parent
ec15ac92f3
commit
79d209824f
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue