diff options
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r-- | phpBB/cron.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php index b5a51a1688..79cf0f40fa 100644 --- a/phpBB/cron.php +++ b/phpBB/cron.php @@ -33,6 +33,12 @@ echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw== // test without flush ;) // flush(); +// +if (!isset($config['cron_lock'])) +{ + set_config('cron_lock', '0', true); +} + // make sure cron doesn't run multiple times in parallel if ($config['cron_lock']) { |