mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-15 06:06:32 +02:00
[ticket/10046] Call flush() in cron.php
PHPBB3-10046
This commit is contained in:
@ -29,10 +29,9 @@ header('Content-length: 43');
|
|||||||
|
|
||||||
echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
|
echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
|
||||||
|
|
||||||
// test without flush ;)
|
// Flush here to prevent browser from showing the page as loading while running cron.
|
||||||
// flush();
|
flush();
|
||||||
|
|
||||||
//
|
|
||||||
if (!isset($config['cron_lock']))
|
if (!isset($config['cron_lock']))
|
||||||
{
|
{
|
||||||
set_config('cron_lock', '0', true);
|
set_config('cron_lock', '0', true);
|
||||||
|
Reference in New Issue
Block a user