diff options
Diffstat (limited to 'phpBB/includes/cron/cron_task_base.php')
| -rw-r--r-- | phpBB/includes/cron/cron_task_base.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/cron/cron_task_base.php b/phpBB/includes/cron/cron_task_base.php index bdd96ec8f5..a75e27ac13 100644 --- a/phpBB/includes/cron/cron_task_base.php +++ b/phpBB/includes/cron/cron_task_base.php @@ -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 |
