mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[feature/system-cron] Changed include_once to *_exists/include.
PHPBB3-9596
This commit is contained in:
@@ -16,7 +16,10 @@ if (!defined('IN_PHPBB'))
|
||||
exit;
|
||||
}
|
||||
|
||||
include_once($phpbb_root_path . 'includes/cron/cron_task.' . $phpEx);
|
||||
if (!class_exists('cron_task'))
|
||||
{
|
||||
include_once($phpbb_root_path . 'includes/cron/cron_task.' . $phpEx);
|
||||
}
|
||||
|
||||
/**
|
||||
* Cron task base class. Provides sensible defaults for cron tasks
|
||||
|
Reference in New Issue
Block a user