1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[feature/system-cron] Changed include_once to *_exists/include.

PHPBB3-9596
This commit is contained in:
Oleg Pudeyev
2010-04-18 13:09:53 -04:00
parent fe72fe9878
commit ea3b98ab49
11 changed files with 70 additions and 16 deletions

View File

@@ -16,6 +16,12 @@ if (!defined('IN_PHPBB'))
exit;
}
// We use parametrized_cron_task in is_parametrized
if (!interface_exists('cron_task'))
{
include($phpbb_root_path . 'includes/cron/cron_task.' . $phpEx);
}
/**
* Cron task wrapper class.
* Enhances cron tasks with convenience methods that work identically for all tasks.